Update of /cvsroot/gaim/gaim/src/protocols/msn
In directory usw-pr-cvs1:/tmp/cvs-serv15635/src/protocols/msn
Modified Files:
msn.c
Log Message:
some patches from some people.
Index: msn.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/msn/msn.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- msn.c 28 Aug 2002 02:38:19 -0000 1.93
+++ msn.c 29 Aug 2002 01:47:14 -0000 1.94
@@ -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);
|