Mercurial > pidgin.yaz
comparison src/protocols/napster/napster.c @ 6059:d8cd876e613e
[gaim-migrate @ 6509]
I made a lot of server.c functions use const chat * instead of const *
Made the alias entry have focus in the alias buddy dialog.
Fixed a typo thanks to J. Silvestri
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 08 Jul 2003 03:36:41 +0000 |
parents | 7d385de2f9cd |
children | 3613007cbb6e |
comparison
equal
deleted
inserted
replaced
6058:d5f4ae4f9a02 | 6059:d8cd876e613e |
---|---|
157 buddies = buddies -> next; | 157 buddies = buddies -> next; |
158 } | 158 } |
159 } | 159 } |
160 | 160 |
161 /* 303 - MSG_CLIENT_REMOVE_HOTLIST */ | 161 /* 303 - MSG_CLIENT_REMOVE_HOTLIST */ |
162 static void nap_remove_buddy(GaimConnection *gc, char *name, char *group) | 162 static void nap_remove_buddy(GaimConnection *gc, const char *name, const char *group) |
163 { | 163 { |
164 nap_write_packet(gc, 303, "%s", name); | 164 nap_write_packet(gc, 303, "%s", name); |
165 } | 165 } |
166 | 166 |
167 /* 400 - MSG_CLIENT_JOIN */ | 167 /* 400 - MSG_CLIENT_JOIN */ |
191 | 191 |
192 nap_write_packet(gc, 401, "%s", c->name); | 192 nap_write_packet(gc, 401, "%s", c->name); |
193 } | 193 } |
194 | 194 |
195 /* 402 - MSG_CLIENT_PUBLIC */ | 195 /* 402 - MSG_CLIENT_PUBLIC */ |
196 static int nap_chat_send(GaimConnection *gc, int id, char *message) | 196 static int nap_chat_send(GaimConnection *gc, int id, const char *message) |
197 { | 197 { |
198 GaimConversation *c = gaim_find_chat(gc, id); | 198 GaimConversation *c = gaim_find_chat(gc, id); |
199 | 199 |
200 if (!c) | 200 if (!c) |
201 return -EINVAL; | 201 return -EINVAL; |