fix bug #176 by don't checking MsgInfos with a NULL msgid
+2003-06-10 [alfons] 0.9.0claws26
+
+ * src/procmsg.c
+ fix bug #176 by don't checking MsgInfos with a NULL msgid
+
2003-06-09 [alfons] 0.9.0claws25
* src/prefs_common.c
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws25
+EXTRA_VERSION=claws26
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
MsgInfo *msginfo;
msginfo = folder_item_get_msginfo(item, atoi(tokens[1]));
- if ((msginfo != NULL) && (strcmp(msginfo->msgid, tokens[2]) != 0)) {
+
+ /*!< note that if the message has no msgid (maybe it was invalid),
+ * we also refuse to do something with the reply to flag */
+ if ((msginfo != NULL) &&
+ (msginfo->msgid != NULL) &&
+ (strcmp(msginfo->msgid, tokens[2]) != 0)) {
procmsg_msginfo_free(msginfo);
msginfo = NULL;
}