Mercurial > pidgin
comparison src/protocols/zephyr/zephyr.c @ 8712:a4ff6e79c5fc
[gaim-migrate @ 9466]
Zephyr is some funky mojo. This fixes
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121256
At least, it isn't any worse than what we had before and it is more
predictable. As to whether there's a bug ... your guess is as good as
mine.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 19 Apr 2004 20:30:56 +0000 |
parents | 47f647dd2ac3 |
children | 7024b595b6ae |
comparison
equal
deleted
inserted
replaced
8711:05ed6143ec76 | 8712:a4ff6e79c5fc |
---|---|
1036 buf = g_strdup_printf("%s%c%s", sig, '\0', html_buf2); | 1036 buf = g_strdup_printf("%s%c%s", sig, '\0', html_buf2); |
1037 | 1037 |
1038 gconv1 = gaim_find_conversation_with_account(zt->name, zgc->account); | 1038 gconv1 = gaim_find_conversation_with_account(zt->name, zgc->account); |
1039 gcc = gaim_conversation_get_chat_data(gconv1); | 1039 gcc = gaim_conversation_get_chat_data(gconv1); |
1040 | 1040 |
1041 /* This patently does not make sense ... if inst is not set by | |
1042 * gaim_conv_chat_get_topic, we set it to the uninitialized | |
1043 * value of notice.z_class_inst, only to set notice.z_class_inst | |
1044 * back to inst in a half a dozen lines. I'm just going to let | |
1045 * it remain NULL instead. | |
1046 * | |
1041 if (!(inst = (char *)gaim_conv_chat_get_topic(gcc))) | 1047 if (!(inst = (char *)gaim_conv_chat_get_topic(gcc))) |
1042 inst = (char *)notice.z_class_inst; | 1048 inst = (char *)notice.z_class_inst; |
1049 */ | |
1050 inst = (char *)gaim_conv_chat_get_topic(gcc); | |
1051 /* There, now isn't that better? */ | |
1043 | 1052 |
1044 bzero((char *)¬ice, sizeof(notice)); | 1053 bzero((char *)¬ice, sizeof(notice)); |
1045 notice.z_kind = ACKED; | 1054 notice.z_kind = ACKED; |
1046 notice.z_port = 0; | 1055 notice.z_port = 0; |
1047 notice.z_opcode = ""; | 1056 notice.z_opcode = ""; |