0.9.7claws9
authorChristoph Hohmann <reboot@gmx.ch>
Sat, 29 Nov 2003 14:27:10 +0000 (14:27 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sat, 29 Nov 2003 14:27:10 +0000 (14:27 +0000)
* src/procheader.c
        fix bug in unfolding

ChangeLog.claws
configure.ac
src/procheader.c

index 773073c4d946be8735c2593b3290110bbb6caec8..c529978a2066805921d688e8d29905164083e139 100644 (file)
@@ -1,4 +1,10 @@
+2003-11-29 [christoph] 0.9.7claws9
+
+       * src/procheader.c
+               fix bug in unfolding
+
 2003-11-29 [luke]      0.9.7claws8
+
        * src/textview.c
                fix compilation for non c99 compilers
 
index 28f74645a618cf5172327079421e657dae413322..7e40e6cdee094afb89b9bd264ce1dd50fd253910 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=7
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=8
+EXTRA_VERSION=9
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 4d1b228302e89d542cfe4d281c4bee0d9dc8bdf3..4d543b60dd4437ddfc46dbfd51266c79cd369140 100644 (file)
@@ -121,6 +121,9 @@ static gint generic_get_one_field(gchar *buf, gint len, void *data,
                if (buf[0] == '\r' || buf[0] == '\n') return -1;
        }
 
+       /* remove trailing new line */
+       strretchomp(buf);
+
        /* unfold line */
        while (1) {
                nexthead = peekchar(data);
@@ -140,9 +143,6 @@ static gint generic_get_one_field(gchar *buf, gint len, void *data,
                        break;
        }
 
-       /* remove trailing new line */
-       strretchomp(buf);
-
        return hnum;
 }