diff src/protocols/oscar/util.c @ 11253:7d31d61e6438

[gaim-migrate @ 13422] Get rid of faimdprintf and use gaim_debug functions instead committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 06:43:45 +0000
parents 9f358a718f38
children bdb8d7beb5a7
line wrap: on
line diff
--- a/src/protocols/oscar/util.c	Sat Aug 13 06:04:30 2005 +0000
+++ b/src/protocols/oscar/util.c	Sat Aug 13 06:43:45 2005 +0000
@@ -13,22 +13,6 @@
 #include "win32dep.h"
 #endif
 
-faim_internal void faimdprintf(aim_session_t *sess, int dlevel, const char *format, ...)
-{
-	if (!sess) {
-		fprintf(stderr, "faimdprintf: no session! boo! (%d, %s)\n", dlevel, format);
-		return;
-	}
-	if ((dlevel <= sess->debug) && sess->debugcb) {
-		va_list ap;
-		va_start(ap, format);
-		sess->debugcb(sess, dlevel, format, ap);
-		va_end(ap);
-	}
-
-	return;
-}
-
 faim_export int aimutil_putstr(char *dest, const char *src, int len)
 {
 	memcpy(dest, src, len);