comparison src/protocols/msn/msn.c @ 3504:d7cefb94a978

[gaim-migrate @ 3568] Am I the only one who thought this was kinda stupid? committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 14 Sep 2002 07:28:10 +0000
parents 4b204c262376
children 9431b31f8f62
comparison
equal deleted inserted replaced
3503:334315a42681 3504:d7cefb94a978
160 160
161 static char *msn_normalize(const char *s) 161 static char *msn_normalize(const char *s)
162 { 162 {
163 static char buf[BUF_LEN]; 163 static char buf[BUF_LEN];
164 164
165 gchar * ss = g_strstrip(s);
166 g_return_val_if_fail(s != NULL, NULL); 165 g_return_val_if_fail(s != NULL, NULL);
167 166
168 g_snprintf(buf, sizeof(buf), "%s%s", ss, strchr(ss, '@') ? "" : "@hotmail.com"); 167 g_snprintf(buf, sizeof(buf), "%s%s", s, strchr(s, '@') ? "" : "@hotmail.com");
169 168
170 return buf; 169 return buf;
171 } 170 }
172 171
173 static int msn_write(int fd, void *data, int len) 172 static int msn_write(int fd, void *data, int len)