comparison 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
comparison
equal deleted inserted replaced
4245:cd84b0fd63fc 4246:2a2d6d21f1d7
1 /* 1 /*
2 * 2 * A little bit of this
3 * 3 * A little bit of that
4 * 4 * It started with a kiss
5 * Now we're up to bat
5 */ 6 */
6 7
7 #define FAIM_INTERNAL 8 #define FAIM_INTERNAL
8 #include <aim.h> 9 #include <aim.h>
9 #include <ctype.h> 10 #include <ctype.h>
11
12 #ifdef _WIN32
13 #include "win32dep.h"
14 #endif
15
16 faim_internal void faimdprintf(aim_session_t *sess, int dlevel, const char *format, ...)
17 {
18 if (!sess) {
19 fprintf(stderr, "faimdprintf: no session! boo! (%d, %s)\n", dlevel, format);
20 return;
21 }
22 if ((dlevel <= sess->debug) && sess->debugcb) {
23 va_list ap;
24 va_start(ap, format);
25 sess->debugcb(sess, dlevel, format, ap);
26 va_end(ap);
27 }
28
29 return;
30 }
10 31
11 faim_export faim_shortfunc int aimutil_putstr(u_char *dest, const char *src, int len) 32 faim_export faim_shortfunc int aimutil_putstr(u_char *dest, const char *src, int len)
12 { 33 {
13 memcpy(dest, src, len); 34 memcpy(dest, src, len);
14 return len; 35 return len;