| 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(¬ice, ZAUTH) == ZERR_NONE) { |
2184 if (ZSendNotice(¬ice, 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; |