comparison src/protocols/zephyr/zephyr.c @ 7126:eda3de6dacbb

[gaim-migrate @ 7693] closes former bug (current patch) # 816124 committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 02 Oct 2003 13:06:42 +0000
parents bf630f7dfdcd
children 1930e3d00ecd
comparison
equal deleted inserted replaced
7125:208cb260d7a7 7126:eda3de6dacbb
833 } 833 }
834 834
835 static char *zephyr_normalize(const char *orig) 835 static char *zephyr_normalize(const char *orig)
836 { 836 {
837 static char buf[80]; 837 static char buf[80];
838 if (!g_ascii_strcasecmp(orig, "")) {
839 buf[0] = '\0';
840 return buf;
841 }
838 if (strchr(orig, '@')) { 842 if (strchr(orig, '@')) {
839 g_snprintf(buf, 80, "%s", orig); 843 g_snprintf(buf, 80, "%s", orig);
840 } else { 844 } else {
841 g_snprintf(buf, 80, "%s@%s", orig, ZGetRealm()); 845 g_snprintf(buf, 80, "%s@%s", orig, ZGetRealm());
842 } 846 }