aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-24 05:12:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-24 05:12:12 +0800
commitf14e08e0a8ebbe645ddc1396f6c5fa0d6ac48f2b (patch)
tree6cfc74b143a58caaff05c6a53d91f7bc4a167351
parent252e27586eb4a622cf86cac29b8bf59ff85af613 (diff)
downloadgsoc2013-evolution-f14e08e0a8ebbe645ddc1396f6c5fa0d6ac48f2b.tar.gz
gsoc2013-evolution-f14e08e0a8ebbe645ddc1396f6c5fa0d6ac48f2b.tar.zst
gsoc2013-evolution-f14e08e0a8ebbe645ddc1396f6c5fa0d6ac48f2b.zip
Don't use strncmp here or reply-all will match reply.
2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (message_tag_followup_decode): Don't use strncmp here or reply-all will match reply. svn path=/trunk/; revision=17558
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-tag-followup.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6ac21d865c..6fd070c5bb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-23 Jeffrey Stedfast <fejj@ximian.com>
+
+ * message-tag-followup.c (message_tag_followup_decode): Don't use
+ strncmp here or reply-all will match reply.
+
2002-07-22 Peter Williams <peterw@ximian.com>
* folder-browser.c (folder_browser_gui_init): Also perform a search
diff --git a/mail/message-tag-followup.c b/mail/message-tag-followup.c
index b228f689c7..f546a6745d 100644
--- a/mail/message-tag-followup.c
+++ b/mail/message-tag-followup.c
@@ -192,7 +192,7 @@ message_tag_followup_decode (const char *value)
tag = g_new (struct _FollowUpTag, 1);
for (i = 0; i < FOLLOWUP_FLAG_NONE; i++) {
- if (!strncmp (value, available_flags[i].name, strlen (available_flags[i].name)))
+ if (!strcmp (value, available_flags[i].name))
break;
}