diff src/protocols/yahoo/yahoo.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 8642749e55ca
children c28dea25983c
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Jul 08 02:33:17 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Tue Jul 08 03:36:41 2003 +0000
@@ -1214,7 +1214,7 @@
 	return 1;
 }
 
-int yahoo_send_typing(GaimConnection *gc, char *who, int typ)
+int yahoo_send_typing(GaimConnection *gc, const char *who, int typ)
 {
 	struct yahoo_data *yd = gc->proto_data;
 	struct yahoo_packet *pkt = yahoo_packet_new(YAHOO_SERVICE_NOTIFY, YAHOO_STATUS_TYPING, 0);
@@ -1232,7 +1232,7 @@
 	return 0;
 }
 
-static void yahoo_set_away(GaimConnection *gc, char *state, char *msg)
+static void yahoo_set_away(GaimConnection *gc, const char *state, const char *msg)
 {
 	struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
 	struct yahoo_packet *pkt;
@@ -1376,7 +1376,7 @@
 	yahoo_packet_free(pkt);
 }
 
-static void yahoo_remove_buddy(GaimConnection *gc, char *who, char *group)
+static void yahoo_remove_buddy(GaimConnection *gc, const char *who, const char *group)
 {
 	struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;