comparison libpurple/protocols/yahoo/yahoo_filexfer.c @ 27384:377e063ecda5

Convert the yahoo prpl to using the debug convenience functions instead of purple_debug().
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 05 Jul 2009 02:23:43 +0000
parents f8428553f11c
children ef5f0cde8d74
comparison
equal deleted inserted replaced
27383:84b2e1770ede 27384:377e063ecda5
154 static void yahoo_receivefile_connected(gpointer data, gint source, const gchar *error_message) 154 static void yahoo_receivefile_connected(gpointer data, gint source, const gchar *error_message)
155 { 155 {
156 PurpleXfer *xfer; 156 PurpleXfer *xfer;
157 struct yahoo_xfer_data *xd; 157 struct yahoo_xfer_data *xd;
158 158
159 purple_debug(PURPLE_DEBUG_INFO, "yahoo", 159 purple_debug_info("yahoo", "in yahoo_receivefile_connected\n");
160 "AAA - in yahoo_receivefile_connected\n"); 160
161 if (!(xfer = data)) 161 if (!(xfer = data))
162 return; 162 return;
163 if (!(xd = xfer->data)) 163 if (!(xd = xfer->data))
164 return; 164 return;
165 if ((source < 0) || (xd->path == NULL) || (xd->host == NULL)) { 165 if ((source < 0) || (xd->path == NULL) || (xd->host == NULL)) {
233 size_t content_length, header_len, pkt_buf_len; 233 size_t content_length, header_len, pkt_buf_len;
234 PurpleConnection *gc; 234 PurpleConnection *gc;
235 PurpleAccount *account; 235 PurpleAccount *account;
236 struct yahoo_data *yd; 236 struct yahoo_data *yd;
237 237
238 purple_debug(PURPLE_DEBUG_INFO, "yahoo", 238 purple_debug_info("yahoo", "in yahoo_sendfile_connected\n");
239 "AAA - in yahoo_sendfile_connected\n"); 239
240 if (!(xfer = data)) 240 if (!(xfer = data))
241 return; 241 return;
242 if (!(xd = xfer->data)) 242 if (!(xd = xfer->data))
243 return; 243 return;
244 244