Mercurial > pidgin
diff src/protocols/msn/msn.c @ 3466:7a3f16a375a5
[gaim-migrate @ 3516]
some patches from some people.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 29 Aug 2002 01:47:15 +0000 |
parents | b48065e52337 |
children | 4b204c262376 |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Thu Aug 29 01:43:23 2002 +0000 +++ b/src/protocols/msn/msn.c Thu Aug 29 01:47:15 2002 +0000 @@ -1892,7 +1892,7 @@ return 0; } -static void msn_chat_invite(struct gaim_connection *gc, int id, char *msg, char *who) +static void msn_chat_invite(struct gaim_connection *gc, int id, const char *msg, const char *who) { struct msn_switchboard *ms = msn_find_switch_by_id(gc, id); char buf[MSN_BUF_LEN]; @@ -2062,7 +2062,7 @@ return m; } -static void msn_add_buddy(struct gaim_connection *gc, char *name) +static void msn_add_buddy(struct gaim_connection *gc, const char *name) { struct msn_data *md = gc->proto_data; char *who = msn_normalize(name); @@ -2114,7 +2114,7 @@ char buf[MSN_BUF_LEN]; char *alias; - if (!entry || *entry == NULL) + if (!entry || *entry == '\0') alias = g_strdup(""); else alias = str_to_utf8(entry);