changeset 10300:cfd119bd3caf

[gaim-migrate @ 11484] Um, remove a parameter that wasn't used. This should close Red Hat bug 141588 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 02 Dec 2004 23:01:05 +0000
parents 75f052c26f16
children 56b53036e48c
files src/protocols/zephyr/zephyr.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c	Thu Dec 02 20:54:03 2004 +0000
+++ b/src/protocols/zephyr/zephyr.c	Thu Dec 02 23:01:05 2004 +0000
@@ -682,7 +682,7 @@
 	}
 }
 
-static void handle_message(GaimConnection *gc,ZNotice_t notice, struct sockaddr_in from)
+static void handle_message(GaimConnection *gc,ZNotice_t notice)
 {
 	zephyr_account* zephyr = gc->proto_data;
 
@@ -1060,7 +1060,6 @@
 	GaimConnection *gc = (GaimConnection *)data;
 	zephyr_account* zephyr = gc->proto_data;
 	parse_tree *newparsetree = read_from_tzc(zephyr);
-	struct sockaddr_in from;
 	if (newparsetree != NULL) {
 		gchar *spewtype;
 		if ( (spewtype =  tree_child(find_node(newparsetree,"tzcspew"),2)->contents) ) {
@@ -1084,7 +1083,7 @@
 				notice.z_default_format = "Class $class, Instance $instance:\n" "To: @bold($recipient) at $time $date\n" "From: @bold($1) <$sender>\n\n$2";
 				notice.z_message_len = strlen(msg) + 3;
 				notice.z_message = buf;
-				handle_message(gc,notice,from);
+				handle_message(gc, notice);
 				g_free(msg);
 				/*				  g_free(zsig); */
 				g_free(buf);
@@ -1175,7 +1174,7 @@
 		case UNSAFE:
 		case UNACKED:
 		case ACKED:
-			handle_message(gc,notice, from);
+			handle_message(gc,notice);
 			break;
 		case SERVACK:
 			if (!(g_ascii_strcasecmp(notice.z_message, ZSRVACK_NOTSENT))) {