diff src/protocols/msn/ft.c @ 5221:abe4d103e300

[gaim-migrate @ 5591] debug_printf -> gaim_debug committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 26 Apr 2003 08:58:31 +0000
parents 677d3cb193a1
children 187c740f2a4e
line wrap: on
line diff
--- a/src/protocols/msn/ft.c	Sat Apr 26 08:50:50 2003 +0000
+++ b/src/protocols/msn/ft.c	Sat Apr 26 08:58:31 2003 +0000
@@ -198,8 +198,9 @@
 	}
 
 	if (header[0] != 0) {
-		debug_printf("MSNFTP: Invalid header[0]: %d. Aborting.\n",
-					 header[0]);
+		gaim_debug(GAIM_DEBUG_ERROR, "msn",
+				   "MSNFTP: Invalid header[0]: %d. Aborting.\n",
+				   header[0]);
 		return 0;
 	}
 
@@ -376,7 +377,8 @@
 	xfer_data = (struct msn_xfer_data *)xfer->data;
 
 	if (source == -1 || !g_slist_find(connections, account->gc)) {
-		debug_printf("MSNFTP: Error establishing connection\n");
+		gaim_debug(GAIM_DEBUG_ERROR, "msn",
+				   "MSNFTP: Error establishing connection\n");
 		close(source);
 
 		gaim_xfer_cancel_remote(xfer);
@@ -493,8 +495,9 @@
 
 			if (xfer == NULL)
 			{
-				debug_printf("MSNFTP : Cookie not found. "
-							 "File transfer aborted.\n");
+				gaim_debug(GAIM_DEBUG_ERROR, "msn",
+						   "MSNFTP : Cookie not found. "
+						   "File transfer aborted.\n");
 				return;
 			}