mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 09:12:22 -05:00
copy-paste is still BAD
This commit is contained in:
parent
c907dd186d
commit
9f2f179e1c
@ -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 ())
|
||||
|
Loading…
Reference in New Issue
Block a user