always read diffs twice... I missed the absence of '!' at first :-/
authorColin Leroy <colin@colino.net>
Fri, 31 Jan 2003 18:39:22 +0000 (18:39 +0000)
committerColin Leroy <colin@colino.net>
Fri, 31 Jan 2003 18:39:22 +0000 (18:39 +0000)
fix it.

ChangeLog.claws
configure.ac
src/procheader.c

index c68dadb151a29957a6a099ff72218092923cab43..a173e027a88a90885e6f26acd7e16d02c95d9a66 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-31 [colin]     0.8.9claws31
+
+       * src/procheader.c
+               Fix last commit's bug
+
 2003-01-31 [colin]     0.8.9claws30
 
        * src/procheader.c
index 87b008d41a131ce93bb819f16716b37ccb19dba3..2217954e3512bb9c82773be740302a96cb6dab92 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws30
+EXTRA_VERSION=claws31
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 7811983b44b0d4d769ff56deb6ab53b63c3c1ae9..ee0fa940faf431e248fc75c6e438f64577bdb00a 100644 (file)
@@ -626,10 +626,14 @@ MsgInfo *procheader_parse_stream(FILE *fp, MsgFlags flags, gboolean full,
                        break;
                case H_CONTENT_TYPE:
                        if (decrypted) {
-                               if (!strncasecmp(hp, "multipart", 9) &&
-                                   strncasecmp(hp, "multipart/signed", 16)) {
-                                       MSG_SET_TMP_FLAGS(msginfo->flags,
+                               if (!strncasecmp(hp, "multipart", 9)) {
+                                       if (strncasecmp(hp, "multipart/signed", 16)) {
+                                               MSG_SET_TMP_FLAGS(msginfo->flags,
+                                                         MSG_MIME);
+                                       } else {
+                                               MSG_SET_TMP_FLAGS(msginfo->flags,
                                                          MSG_SIGNED);
+                                       }
                                }
                        }
                        else if (!strncasecmp(hp, "multipart/encrypted", 19)) {