src/protocols/zephyr/zephyr.c

changeset 8712
1f6f8720fbd2
parent 8645
8446e0a232e0
child 8713
8a7baa8f8460
equal deleted inserted replaced
8711:68f21916d3b4 8712:1f6f8720fbd2
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 *)&notice, sizeof(notice)); 1053 bzero((char *)&notice, 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 = "";

mercurial