diff src/protocols/msn/switchboard.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 e2e53316a21d
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Sat Apr 26 08:50:50 2003 +0000
+++ b/src/protocols/msn/switchboard.c	Sat Apr 26 08:58:31 2003 +0000
@@ -159,8 +159,6 @@
 				msn_kill_switch(ms);
 				return 0;
 			}
-
-			debug_printf("\n");
 		}
 	} else if (!g_ascii_strncasecmp(buf, "MSG", 3)) {
 		char *user, *tmp = buf;
@@ -206,7 +204,7 @@
 			msn_kill_switch(ms);
 
 	} else {
-		debug_printf("Unhandled message!\n");
+		gaim_debug(GAIM_DEBUG_WARNING, "msn", "Unhandled message!\n");
 	}
 
 	return 1;
@@ -353,7 +351,7 @@
 			}
 			cmd[cmdlen] = 0;
 
-			debug_printf("MSN S: %s", cmd);
+			gaim_debug(GAIM_DEBUG_MISC, "msn", "S: %s", cmd);
 			g_strchomp(cmd);
 			cont = msn_process_switch(ms, cmd);