summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-01-12 09:14:33 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-01-12 09:14:33 +0100
commita747cf62bede35c497a16cdfcd58263304f333bd (patch)
tree30cfae4927b517d105cccd9b6fb009b54ab8e373 /plugins
parent3e5e47d00dc0afe968bb0291869d958db5e6f3b7 (diff)
just to follow conventions
Diffstat (limited to 'plugins')
-rw-r--r--plugins/checksum/checksum.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c
index 97a72e86..8fcc57bb 100644
--- a/plugins/checksum/checksum.c
+++ b/plugins/checksum/checksum.c
@@ -299,15 +299,15 @@ dccoffer_cb (char *word[], void *userdata)
 }
 
 static void
-checksum (char *userdata[])
+checksum (char *word[], void *userdata)
 {
-	if (!stricmp ("GET", userdata[2]))
+	if (!stricmp ("GET", word[2]))
 	{
 		print_size ();
-	} else if (!stricmp ("INC", userdata[2]))
+	} else if (!stricmp ("INC", word[2]))
 	{
 		increase_max_hash_size ();
-	} else if (!stricmp ("DEC", userdata[2]))
+	} else if (!stricmp ("DEC", word[2]))
 	{
 		decrease_max_hash_size ();
 	} else