Update application.c

fix @return value