From f14e08e0a8ebbe645ddc1396f6c5fa0d6ac48f2b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 23 Jul 2002 21:12:12 +0000 Subject: Don't use strncmp here or reply-all will match reply. 2002-07-23 Jeffrey Stedfast * message-tag-followup.c (message_tag_followup_decode): Don't use strncmp here or reply-all will match reply. svn path=/trunk/; revision=17558 --- mail/message-tag-followup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/message-tag-followup.c') 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; } -- cgit