diff -r de790f82954b -r 3e86c949c98a src/win32/libc_interface.c --- 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 #include #include +#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); } }