On Jun 28, 2010, at 10:21:53, Jason wrote:
>       strcpy(temp.notification_name, NOTIFICATION_NAME);
>       strcpy(temp.notification_title, APP_NAME);
>       strcpy(temp.notification_message, MESSAGE);
>       strcpy(temp.application_name, APP_NAME);

This is another problem: You are treating the string members as C strings, but 
they are not. They are length-declared, so there is no need to null-terminate 
them, so they must not be null-terminated.

Don't include the length bytes in the string member declarations. Use memcpy 
and strlen to copy the strings in.

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to