I think there's no problem with casting to the return value of malloc...
Printable View
I think there's no problem with casting to the return value of malloc...
Usually, yes. Just to confirm: did you #include <stdlib.h>?Quote:
Originally Posted by -EquinoX-
It looks like your string at u_char body[256]; was not NULL terminated.
-EquinoX-, please answer my question.
I wrote this in my previous page:
line 193 was just:
printf("body is %s\n", frame->body);