diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-11-29 21:55:14 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-11-29 21:55:14 +0000 |
commit | 9ff5737ec53cca2ba295b58fb74a8b97f496cd19 (patch) | |
tree | 4bd8c279eda1fac647cfb1e99abcdea8c3963d5b /protocols | |
parent | b6a2373c2c9a98594a87c54a4644f3c0e985e420 (diff) |
printf() in daemons considered harmful.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/oscar/msgcookie.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/oscar/msgcookie.c b/protocols/oscar/msgcookie.c index d3c91a94..efeb8cbf 100644 --- a/protocols/oscar/msgcookie.c +++ b/protocols/oscar/msgcookie.c @@ -130,21 +130,6 @@ aim_msgcookie_t *aim_checkcookie(aim_session_t *sess, const guint8 *cookie, int return NULL; } -#if 0 /* debugging feature */ -int aim_dumpcookie(aim_msgcookie_t *cookie) -{ - - if (!cookie) - return -EINVAL; - - printf("\tCookie at %p: %d/%s with %p, next %p\n", - cookie, cookie->type, cookie->cookie, - cookie->data, cookie->next); - - return 0; -} -#endif - /** * aim_cookie_free - free an aim_msgcookie_t struct * @sess: session to remove the cookie from |