summary refs log tree commit diff stats
path: root/plugins/checksum
diff options
context:
space:
mode:
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 ())