diff src/html.c @ 5211:0241d6b6702d

[gaim-migrate @ 5581] Wrote a new debugging API, and of course core/ui split it. Debug statements can now have debug levels and categories, for future filtering of stuff, and color highlighting. It's nifty, m'kay? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 26 Apr 2003 06:46:08 +0000
parents 6911a84cbab1
children 36d2c875a822
line wrap: on
line diff
--- a/src/html.c	Sat Apr 26 05:31:26 2003 +0000
+++ b/src/html.c	Sat Apr 26 06:46:08 2003 +0000
@@ -216,7 +216,9 @@
 
 		g_snprintf(buf, sizeof(buf), "GET %s%s HTTP/1.0\r\n\r\n", gunk->full ? "" : "/",
 			   gunk->full ? gunk->url : gunk->website->page);
-		debug_printf("Request: %s\n", buf);
+
+		gaim_debug(GAIM_DEBUG_MISC, "grab_url_callback",
+				   "Request: %s\n", buf);
 
 		write(sock, buf, strlen(buf));
 		fcntl(sock, F_SETFL, O_NONBLOCK);
@@ -282,7 +284,8 @@
 		gunk->webdata = g_realloc(gunk->webdata, gunk->len + 1);
 		gunk->webdata[gunk->len] = 0;
 
-		debug_printf(_("Received: '%s'\n"), gunk->webdata);
+		gaim_debug(GAIM_DEBUG_MISC, "grab_url_callback",
+				   "Received: '%s'\n", gunk->webdata);
 
 		gaim_input_remove(gunk->inpa);
 		close(sock);