On Jun 28, 2010, at 14:06:42, Jason wrote: > #define REG_PACKET_SIZE 23 > memcpy(pointer, APP_NAME, strlen(APP_NAME)); > pointer += strlen(APP_NAME); > > memcpy(pointer, NOTIFICATION_NAME, strlen(NOTIFICATION_NAME)); > pointer += strlen(NOTIFICATION_NAME);
Don't hard-code the size of the buffer when the actual size of the data can change. Are you hitting your assertion, or are you successfully sending the data but not seeing Growl display the notification? -- 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.
