Mercurial > pidgin.yaz
diff src/server.c @ 5630:4e2ffa3d9094
[gaim-migrate @ 6037]
Constification.
Also, what was I going--oh yeah, fixes a compile warning in oscar.c
Maybe I should be casting all of the 0.5s to ints? Eh.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 01 Jun 2003 05:18:43 +0000 |
parents | 67900446fab9 |
children | dae79aefac8d |
line wrap: on
line diff
--- a/src/server.c Sun Jun 01 04:25:17 2003 +0000 +++ b/src/server.c Sun Jun 01 05:18:43 2003 +0000 @@ -461,7 +461,7 @@ } } -void serv_got_alias(GaimConnection *gc, char *who, char *alias) { +void serv_got_alias(GaimConnection *gc, const char *who, const char *alias) { struct buddy *b = gaim_find_buddy(gc->account, who); if(!b) return; @@ -1023,7 +1023,7 @@ -void serv_got_update(GaimConnection *gc, char *name, int loggedin, +void serv_got_update(GaimConnection *gc, const char *name, int loggedin, int evil, time_t signon, time_t idle, int type) { GaimAccount *account; @@ -1147,7 +1147,7 @@ } -void serv_got_eviled(GaimConnection *gc, char *name, int lev) +void serv_got_eviled(GaimConnection *gc, const char *name, int lev) { char buf2[1024]; @@ -1169,7 +1169,7 @@ gaim_notify_info(NULL, NULL, buf2, NULL); } -void serv_got_typing(GaimConnection *gc, char *name, int timeout, +void serv_got_typing(GaimConnection *gc, const char *name, int timeout, int state) { struct buddy *b; @@ -1196,7 +1196,7 @@ gaim_im_start_typing_timeout(im, timeout); } -void serv_got_typing_stopped(GaimConnection *gc, char *name) { +void serv_got_typing_stopped(GaimConnection *gc, const char *name) { struct gaim_conversation *c = gaim_find_conversation(name); struct gaim_im *im; @@ -1241,8 +1241,8 @@ -void serv_got_chat_invite(GaimConnection *gc, char *name, - char *who, char *message, GHashTable *data) +void serv_got_chat_invite(GaimConnection *gc, const char *name, + const char *who, const char *message, GHashTable *data) { GaimAccount *account; char buf2[BUF_LONG]; @@ -1271,7 +1271,7 @@ } struct gaim_conversation *serv_got_joined_chat(GaimConnection *gc, - int id, char *name) + int id, const char *name) { struct gaim_conversation *b; struct gaim_chat *chat;