changeset 231:4a638177f917

[gaim-migrate @ 241] Import/export wouldnt od more than a 1023byte buddy list. Eep :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 11 May 2000 17:53:04 +0000
parents 83dd297aa363
children f930b55a7367
files src/dialogs.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Wed May 10 10:56:25 2000 +0000
+++ b/src/dialogs.c	Thu May 11 17:53:04 2000 +0000
@@ -2056,7 +2056,7 @@
 			return;
 	}
         if ((f = fopen(path,"w"))) {
-                toc_build_config(buf, 1024 - 1);
+                toc_build_config(buf, 8192 - 1);
                 fprintf(f, "%s\n", buf);
                 fclose(f);
                 chmod(buf, S_IRUSR | S_IWUSR);
@@ -2155,8 +2155,8 @@
                 return;
         } else if (buf[0] == 'm') {
                 buf2 = buf;
-                buf = g_malloc(1025);
-                g_snprintf(buf, 1024, "toc_set_config {%s}\n", buf2);
+                buf = g_malloc(8193);
+                g_snprintf(buf, 8192, "toc_set_config {%s}\n", buf2);
                 g_free(buf2);
         }