diff src/protocols/msn/msn.c @ 4201:511c2b63caa4

[gaim-migrate @ 4432] Some code cleanups to remove warnings and fix up indenting a little. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 04 Jan 2003 21:01:32 +0000
parents 9615c6996348
children a614423c648f
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sat Jan 04 19:41:07 2003 +0000
+++ b/src/protocols/msn/msn.c	Sat Jan 04 21:01:32 2003 +0000
@@ -163,7 +163,7 @@
 
 static int msn_write(int fd, void *data, int len)
 {
-	debug_printf("MSN C: %s", data);
+	debug_printf("MSN C: %s", (char *)data);
 	return write(fd, data, len);
 }
 
@@ -2113,7 +2113,6 @@
 static void msn_file_transfer_in(struct gaim_connection *gc,
 								 struct file_transfer *xfer, int offset)
 {
-	struct msn_data *md = gc->proto_data;
 	struct msn_file_transfer *mft = find_mft_by_xfer(gc, xfer);
 	struct msn_switchboard *ms = msn_find_switch(gc, mft->sn);
 	char header[MSN_BUF_LEN];
@@ -2194,7 +2193,6 @@
 {
 	struct msn_data *md = (struct msn_data *)gc->proto_data;
 	struct msn_file_transfer *mft = find_mft_by_xfer(gc, xfer);
-	struct msn_switchboard *ms = msn_find_switch(gc, mft->sn);
 	char buf[MSN_BUF_LEN];
 
 	g_snprintf(buf, sizeof(buf), "BYE 16777989\r\n");