Mercurial > pidgin.yaz
changeset 11151:35eb95016472
[gaim-migrate @ 13232]
Stop leaking 80 bytes all over the place in zephyr in HEAD, too
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 24 Jul 2005 18:02:00 +0000 |
parents | 0ef4fbeeefaf |
children | c25b3815d781 |
files | src/protocols/zephyr/zephyr.c |
diffstat | 1 files changed, 1 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c Sun Jul 24 08:15:55 2005 +0000 +++ b/src/protocols/zephyr/zephyr.c Sun Jul 24 18:02:00 2005 +0000 @@ -172,7 +172,6 @@ } char *local_zephyr_normalize(zephyr_account* zephyr,const char *); -static const char *zephyr_normalize(const GaimAccount *, const char *); static void zephyr_chat_set_topic(GaimConnection * gc, int id, const char *topic); char* zephyr_tzc_deescape_str(const char *message); @@ -2150,24 +2149,6 @@ return 1; } -static const char *zephyr_normalize(const GaimAccount * account, const char *orig) -{ - /* returns the string you gave it. Maybe this function shouldn't be here */ - static char buf[80]; - /* gaim_debug_error("zephyr","entering zephyr_normalize\n"); */ - - if (!g_ascii_strcasecmp(orig, "")) { - buf[0] = '\0'; - return buf; - } else { - g_snprintf(buf, 80, "%s", orig); - } - /* gaim_debug_error("zephyr","leaving zephyr_normalize\n"); */ - - return buf; -} - - char *local_zephyr_normalize(zephyr_account *zephyr,const char *orig) { /* @@ -2830,7 +2811,7 @@ NULL, /* rename_group */ NULL, /* buddy_free */ NULL, /* convo_closed */ - zephyr_normalize, /* normalize */ + NULL, /* normalize */ NULL, /* XXX set_buddy_icon */ NULL, /* remove_group */ NULL, /* XXX get_cb_real_name */