comparison src/protocols/oscar/msgcookie.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 1a97d5e88d12
children 48244c196228
comparison
equal deleted inserted replaced
11252:55356a29cdd1 11253:7d31d61e6438
125 } 125 }
126 126
127 return NULL; 127 return NULL;
128 } 128 }
129 129
130 #if 0 /* debugging feature */
131 faim_internal int aim_dumpcookie(aim_session_t *sess, aim_msgcookie_t *cookie)
132 {
133
134 if (!cookie)
135 return -EINVAL;
136
137 faimdprintf(sess, 0, "\tCookie at %p: %d/%s with %p, next %p\n", cookie,
138 cookie->type, cookie->cookie, cookie->data, cookie->next);
139
140 return 0;
141 }
142 #endif
143
144 /** 130 /**
145 * aim_cookie_free - free an aim_msgcookie_t struct 131 * aim_cookie_free - free an aim_msgcookie_t struct
146 * 132 *
147 * this function removes the cookie *cookie from the list of cookies 133 * this function removes the cookie *cookie from the list of cookies
148 * in sess, and then frees all memory associated with it. including 134 * in sess, and then frees all memory associated with it. including