diff src/protocols/zephyr/zephyr.c @ 12624:851b0bd7eb52

[gaim-migrate @ 14960] busy busy busy... * fixed some unused variable warnings in a few places * fixed memleak in the searchresults notify * added more button types to the searchresults notify (IM, Info, Invite, Join, and arbitrary labels) * added a conversation ui op to present a conversation, since there appears to be no way to actually initiate an IM without breaking the core/ui split. gaim_conversation_present now ends up calling gaim_gtkconv_present_conversation * changed sametime prpl to use the searchresults notify instead of the requests API for its "ambiguous user" dialog * it should be possible to use the searchresults notify for room listing, if anyone is thusly interested committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Thu, 22 Dec 2005 17:16:57 +0000
parents 8aa0a62cf080
children fc28451f5d96
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c	Thu Dec 22 16:06:41 2005 +0000
+++ b/src/protocols/zephyr/zephyr.c	Thu Dec 22 17:16:57 2005 +0000
@@ -744,7 +744,7 @@
 		char *send_inst;
 		GaimConversation *gconv1;
 		GaimConvChat *gcc;
-		char *ptr = notice.z_message + strlen(notice.z_message) + 1;
+		char *ptr = (char *) notice.z_message + (strlen(notice.z_message) + 1);
 		int len; 
 		char *sendertmp = g_strdup_printf("%s", zephyr->username);
 		int signature_length = strlen(notice.z_message);