libpurple/protocols/zephyr/zephyr.c

changeset 40161
9acdbd51e504
parent 40150
eda298799a8e
child 40358
e6fe6fc1f516
equal deleted inserted replaced
40160:af68597474ae 40161:9acdbd51e504
2179 notice.z_default_format = "Class $class, Instance $instance:\n" "To: @bold($recipient) at $time $date\n" "From: @bold($1) <$sender>\n\n$2"; 2179 notice.z_default_format = "Class $class, Instance $instance:\n" "To: @bold($recipient) at $time $date\n" "From: @bold($1) <$sender>\n\n$2";
2180 notice.z_message_len = strlen(html_buf2) + strlen(sig) + 2; 2180 notice.z_message_len = strlen(html_buf2) + strlen(sig) + 2;
2181 notice.z_message = buf; 2181 notice.z_message = buf;
2182 notice.z_opcode = g_strdup(opcode); 2182 notice.z_opcode = g_strdup(opcode);
2183 purple_debug_info("zephyr","About to send notice\n"); 2183 purple_debug_info("zephyr","About to send notice\n");
2184 if (! ZSendNotice(&notice, ZAUTH) == ZERR_NONE) { 2184 if (ZSendNotice(&notice, ZAUTH) != ZERR_NONE) {
2185 /* XXX handle errors here */ 2185 /* XXX handle errors here */
2186 g_free(buf); 2186 g_free(buf);
2187 g_free(html_buf2); 2187 g_free(html_buf2);
2188 g_free(html_buf); 2188 g_free(html_buf);
2189 return 0; 2189 return 0;

mercurial