comparison libpurple/protocols/novell/nmevent.c @ 15822:32c366eeeb99

sed -ie 's/gaim/purple/g'
author Sean Egan <seanegan@gmail.com>
date Mon, 19 Mar 2007 07:01:17 +0000
parents 5fe8042783c1
children 44b4e8bd759b
comparison
equal deleted inserted replaced
15821:84b0f9b23ede 15822:32c366eeeb99
168 168
169 if (rc == NM_OK) { 169 if (rc == NM_OK) {
170 msg = g_new0(char, size + 1); 170 msg = g_new0(char, size + 1);
171 rc = nm_read_all(conn, msg, size); 171 rc = nm_read_all(conn, msg, size);
172 172
173 gaim_debug(GAIM_DEBUG_INFO, "novell", "Message is %s\n", msg); 173 purple_debug(PURPLE_DEBUG_INFO, "novell", "Message is %s\n", msg);
174 174
175 /* Auto replies are not in RTF format! */ 175 /* Auto replies are not in RTF format! */
176 if (!autoreply) { 176 if (!autoreply) {
177 NMRtfContext *ctx; 177 NMRtfContext *ctx;
178 178
179 ctx = nm_rtf_init(); 179 ctx = nm_rtf_init();
180 nortf = nm_rtf_strip_formatting(ctx, msg); 180 nortf = nm_rtf_strip_formatting(ctx, msg);
181 nm_rtf_deinit(ctx); 181 nm_rtf_deinit(ctx);
182 182
183 gaim_debug(GAIM_DEBUG_INFO, "novell", 183 purple_debug(PURPLE_DEBUG_INFO, "novell",
184 "Message without RTF is %s\n", nortf); 184 "Message without RTF is %s\n", nortf);
185 185
186 /* Store the event data */ 186 /* Store the event data */
187 nm_event_set_text(event, nortf); 187 nm_event_set_text(event, nortf);
188 188
908 case NMEVT_CONTACT_ADD: 908 case NMEVT_CONTACT_ADD:
909 /* Safely ignored for now */ 909 /* Safely ignored for now */
910 break; 910 break;
911 911
912 default: 912 default:
913 gaim_debug(GAIM_DEBUG_INFO, "novell", 913 purple_debug(PURPLE_DEBUG_INFO, "novell",
914 "Unknown event %d received.\n", type); 914 "Unknown event %d received.\n", type);
915 rc = NMERR_PROTOCOL; 915 rc = NMERR_PROTOCOL;
916 break; 916 break;
917 } 917 }
918 } 918 }