Fixed return in C