From e3d44f8829f03f09e15b94dfcf1579ce9e717b77 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 12 Jan 2011 08:37:09 +0100 Subject: meh, for these too --- plugins/checksum/checksum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index a0ce8f9b..93e44b0f 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -120,7 +120,7 @@ init () /* check whether the config file exists, if it doesn't, try to create it */ FILE * file_in; FILE * file_out; - char buffer[1024]; + char buffer[512]; snprintf (buffer, sizeof (buffer), "%s/checksum.conf", xchat_get_info (ph, "xchatdirfs")); @@ -144,7 +144,7 @@ static unsigned long long get_max_hash_size () { FILE * file_in; - char buffer[1024]; + char buffer[512]; unsigned long long max_hash_size; if (config_fail) -- cgit 1.4.1