[xchat-gnome] Bug 709744 - servlist: Grow the reading buffer size to avoid mangling long strings



commit 055c9d39525f35d7f15f070c41f5b630c21642c7
Author: Paul Kocialkowski <contact paulk fr>
Date:   Thu Jun 12 18:43:51 2014 +0530

    Bug 709744 - servlist: Grow the reading buffer size to avoid mangling long strings
    
    some users do connect to a large number of channels at startup.

 src/common/servlist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/common/servlist.c b/src/common/servlist.c
index 3e6f481..7676aac 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -906,7 +906,7 @@ static int
 servlist_load (void)
 {
        FILE *fp;
-       char buf[258];
+       char buf[4096];
        int len;
        char *tmp;
        ircnet *net = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]