Fixed stupid C language mistake