Mercurial > pidgin.yaz
diff src/protocols/oscar/util.c @ 4246:2a2d6d21f1d7
[gaim-migrate @ 4496]
Remove the builddate and buildtime thingies.
If anyone actually uses this, like fire or something, and you
really need it, let me know and I guess I could put it back in.
I also moved the 1 remaining function from meta.c to util.c,
because I'm weird like that.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Jan 2003 06:56:31 +0000 |
parents | 07283934dedd |
children | 858979ab3867 |
line wrap: on
line diff
--- a/src/protocols/oscar/util.c Wed Jan 08 05:52:17 2003 +0000 +++ b/src/protocols/oscar/util.c Wed Jan 08 06:56:31 2003 +0000 @@ -1,13 +1,34 @@ /* - * - * - * + * A little bit of this + * A little bit of that + * It started with a kiss + * Now we're up to bat */ #define FAIM_INTERNAL #include <aim.h> #include <ctype.h> +#ifdef _WIN32 +#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 faim_shortfunc int aimutil_putstr(u_char *dest, const char *src, int len) { memcpy(dest, src, len);