summary refs log tree commit diff stats
path: root/plugins/sysinfo
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-26 14:44:46 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-26 14:44:46 +0200
commite38c6696cddae354c709d1bb9011b27365aa108c (patch)
tree878afd480ead2cffcda7ce0ae9bf0331e4ae6fb9 /plugins/sysinfo
parentd012ca1eb81e5e6a8958f27a829c519bd76a87c5 (diff)
Fix buffer size
Diffstat (limited to 'plugins/sysinfo')
-rw-r--r--plugins/sysinfo/xsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sysinfo/xsys.c b/plugins/sysinfo/xsys.c
index 1d867dd1..e98ffd71 100644
--- a/plugins/sysinfo/xsys.c
+++ b/plugins/sysinfo/xsys.c
@@ -611,7 +611,7 @@ static int
 netstream_cb (char *word[], char *word_eol[], void *userdata)
 {
 	char netstream[bsize];
-	char mag_r[3];
+	char mag_r[5];
 	char mag_s[5];
 	char format[bsize];
 	unsigned long long bytes_recv;