Mercurial > pidgin.yaz
diff src/win32/libc_interface.c @ 6425:26b739bc9f1a
[gaim-migrate @ 6933]
Warnings and gaim_debugs
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Mon, 11 Aug 2003 18:54:38 +0000 |
parents | 9657e243d001 |
children | 5e7ffea3f76a |
line wrap: on
line diff
--- a/src/win32/libc_interface.c Mon Aug 11 18:43:04 2003 +0000 +++ b/src/win32/libc_interface.c Mon Aug 11 18:54:38 2003 +0000 @@ -30,12 +30,12 @@ #include <sys/timeb.h> #include <sys/stat.h> #include <time.h> +#include "debug.h" #include "libc_internal.h" /* * PROTOS */ -extern void debug_printf(char * fmt, ...); /* * LOCALS @@ -57,7 +57,7 @@ if( error == WSAENOTSOCK ) return FALSE; else { - debug_printf("wgaim_read: getsockopt returned error: %d\n", error); + gaim_debug(GAIM_DEBUG_WARNING, "wgaim", "wgaim_is_socket: getsockopt returned error: %d\n", error); return FALSE; } } @@ -135,7 +135,7 @@ return 0; } default: - debug_printf("wgaim_fcntl: Unsupported command\n"); + gaim_debug(GAIM_DEBUG_WARNING, "wgaim", "wgaim_fcntl: Unsupported command\n"); return -1; }/*end switch*/ } @@ -329,7 +329,7 @@ is not a sub dir of oldname, newname should be deleted and oldname should be renamed. */ - debug_printf("Warning: wgaim_rename does not behave here as it should\n"); + gaim_debug(GAIM_DEBUG_WARNING, "wgaim", "wgaim_rename does not behave here as it should\n"); return rename(oldname, newname); } }