diff 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
line wrap: on
line diff
--- a/src/protocols/napster/napster.c	Tue Jul 08 02:33:17 2003 +0000
+++ b/src/protocols/napster/napster.c	Tue Jul 08 03:36:41 2003 +0000
@@ -159,7 +159,7 @@
 }
 
 /* 303 - MSG_CLIENT_REMOVE_HOTLIST */
-static void nap_remove_buddy(GaimConnection *gc, char *name, char *group)
+static void nap_remove_buddy(GaimConnection *gc, const char *name, const char *group)
 {
 	nap_write_packet(gc, 303, "%s", name);
 }
@@ -193,7 +193,7 @@
 }
 
 /* 402 - MSG_CLIENT_PUBLIC */
-static int nap_chat_send(GaimConnection *gc, int id, char *message)
+static int nap_chat_send(GaimConnection *gc, int id, const char *message)
 {
 	GaimConversation *c = gaim_find_chat(gc, id);