0.9.5claws21
authorChristoph Hohmann <reboot@gmx.ch>
Sat, 20 Sep 2003 11:44:42 +0000 (11:44 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sat, 20 Sep 2003 11:44:42 +0000 (11:44 +0000)
* src/compose.c
        increase temp buffer size when writing headers

ChangeLog.claws
configure.ac
src/compose.c

index 66f18f961af1d8b2599647bb96e477d069aafc7d..9fe387989a8826e2fb2cffaf1a7b6f7ed2fe8920 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-20 [christoph] 0.9.5claws21
+
+       * src/compose.c
+               increase temp buffer size when writing headers
+
 2003-09-19 [darko]     0.9.5claws20
 
        * src/compose.c
index de721e4a91dd2e6a6352a20213f7f350b230ff12..ab5cad07e3a608e1086a7a3379a74ec144628d9c 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=20
+EXTRA_VERSION=21
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 32515f6573051c7d7019d014e4f0662730a9bd5a..43ff0dc8efd6be8346c0cea4f2ad0c2ac2baaa7c 100644 (file)
@@ -4072,9 +4072,9 @@ static gint compose_write_headers_from_headerlist(Compose *compose,
        if (write_header) {
                gchar *buf;
 
-               buf = g_new0(gchar, headerstr->len * 2);
+               buf = g_new0(gchar, headerstr->len * 4);
                compose_convert_header
-                       (buf, headerstr->len * 2, headerstr->str,
+                       (buf, headerstr->len * 4, headerstr->str,
                        strlen(header) + 2, TRUE);
                fprintf(fp, "%s: %s\n", header, buf);
                g_free(buf);