summary refs log tree commit diff stats
path: root/plugins/checksum
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-01-12 20:21:02 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-01-12 20:21:02 +0100
commit9f2f179e1c1601426af9ab2124d55d2bfa15186f (patch)
tree9e2a52b60f197b840bae3c36f95bfbc539056cb2 /plugins/checksum
parentc907dd186deaef344dbbec0f393e871de66f1436 (diff)
copy-paste is still BAD
Diffstat (limited to 'plugins/checksum')
-rw-r--r--plugins/checksum/checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c
index 9b02940c..71959b95 100644
--- a/plugins/checksum/checksum.c
+++ b/plugins/checksum/checksum.c
@@ -278,7 +278,7 @@ dccoffer_cb (char *word[], void *userdata)
 	struct stat64 buffer;									/* buffer for storing file info */
 	char sum[65];											/* buffer for checksum */
 
-	result = stat64 (word[2], &buffer);
+	result = stat64 (word[3], &buffer);
 	if (result == 0)										/* stat returns 0 on success */
 	{
 		if (buffer.st_size <= get_max_hash_size ())