diff plugins/filectl.c @ 5227:6d1707dc8c3d

[gaim-migrate @ 5597] debug_printf -> gaim_debug committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 26 Apr 2003 17:36:52 +0000
parents fefad67de2c7
children c0baa01cdeda
line wrap: on
line diff
--- a/plugins/filectl.c	Sat Apr 26 15:42:36 2003 +0000
+++ b/plugins/filectl.c	Sat Apr 26 17:36:52 2003 +0000
@@ -35,7 +35,7 @@
 	while (fgets(buffer, sizeof buffer, file)) {
 		if (buffer[strlen(buffer) - 1] == '\n')
 			buffer[strlen(buffer) - 1] = 0;
-		debug_printf("read: %s\n", buffer);
+		gaim_debug(GAIM_DEBUG_MISC, "filectl", "read: %s\n", buffer);
 		command = getarg(buffer, 0, 0);
 		if (!strncasecmp(command, "signon", 6)) {
 			struct gaim_account *account = NULL;
@@ -159,7 +159,8 @@
 
 	if ((stat (file, &finfo) == 0) && (finfo.st_size > 0))
 		if (mtime != finfo.st_mtime) {
-			debug_printf("control changed, checking\n");
+			gaim_debug(GAIM_DEBUG_INFO, "filectl",
+					   "control changed, checking\n");
 			run_commands();
 		}
 }