diff src/protocols/msn/msn.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 8c44020a958e
children 82e7eaa67406
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Tue Jul 08 02:33:17 2003 +0000
+++ b/src/protocols/msn/msn.c	Tue Jul 08 03:36:41 2003 +0000
@@ -494,7 +494,7 @@
 }
 
 static int
-msn_send_typing(GaimConnection *gc, char *who, int typing)
+msn_send_typing(GaimConnection *gc, const char *who, int typing)
 {
 	GaimAccount *account = gaim_connection_get_account(gc);
 	MsnSession *session = gc->proto_data;
@@ -538,7 +538,7 @@
 }
 
 static void
-msn_set_away(GaimConnection *gc, char *state, char *msg)
+msn_set_away(GaimConnection *gc, const char *state, const char *msg)
 {
 	MsnSession *session = gc->proto_data;
 	const char *away;
@@ -636,7 +636,7 @@
 }
 
 static void
-msn_rem_buddy(GaimConnection *gc, char *who, char *group)
+msn_rem_buddy(GaimConnection *gc, const char *who, const char *group)
 {
 	MsnSession *session = gc->proto_data;
 	char outparams[MSN_BUF_LEN];
@@ -932,7 +932,7 @@
 }
 
 static int
-msn_chat_send(GaimConnection *gc, int id, char *message)
+msn_chat_send(GaimConnection *gc, int id, const char *message)
 {
 	GaimAccount *account = gaim_connection_get_account(gc);
 	MsnSession *session = gc->proto_data;
@@ -961,7 +961,7 @@
 
 	msn_message_destroy(msg);
 
-	serv_got_chat_in(gc, id, (char *)gaim_account_get_username(account),
+	serv_got_chat_in(gc, id, gaim_account_get_username(account),
 					 0, message, time(NULL));
 
 	return 0;
@@ -1096,7 +1096,7 @@
 }
 
 static void
-msn_convo_closed(GaimConnection *gc, char *who)
+msn_convo_closed(GaimConnection *gc, const char *who)
 {
 	GaimAccount *account = gaim_connection_get_account(gc);
 	MsnSession *session = gc->proto_data;