sync with sylpheed 0.6.4cvs6
[claws.git] / src / procheader.c
index 6254aeebc230966ec91a02cdf62701a3173336d3..a0b2a594f129b3cfaa6d2b6be3834a35598f268a 100644 (file)
@@ -584,6 +584,7 @@ MsgInfo *procheader_file_parse(FILE * fp, MsgFlags flags,
                        msginfo->msgid = g_strdup(hp);
                        break;
                case H_REFERENCES:
+               case H_IN_REPLY_TO:
                        if (!reference) {
                                msginfo->references = g_strdup(hp);
                                eliminate_parenthesis(hp, '(', ')');
@@ -596,15 +597,6 @@ MsgInfo *procheader_file_parse(FILE * fp, MsgFlags flags,
                                }
                        }
                        break;
-               case H_IN_REPLY_TO:
-                       if (!reference) {
-                               eliminate_parenthesis(hp, '(', ')');
-                               extract_parenthesis(hp, '<', '>');
-                               remove_space(hp);
-                               if (*hp != '\0')
-                                       reference = g_strdup(hp);
-                       }
-                       break;
                case H_CONTENT_TYPE:
                        if (!strncasecmp(hp, "multipart", 9))
                                MSG_SET_TMP_FLAGS(msginfo->flags, MSG_MIME);