From 9f2f179e1c1601426af9ab2124d55d2bfa15186f Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 12 Jan 2011 20:21:02 +0100 Subject: copy-paste is still BAD --- plugins/checksum/checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 ()) -- cgit 1.4.1