Fix bug #3795 ‘typo in utils comparison’
[claws.git] / src / common / utils.c
index bf14edcf60af2bb86d8cc9c6be3a845121335e8c..d878392e750ecd85b8166446ae86767b231dc479 100644 (file)
@@ -4333,7 +4333,7 @@ search_again:
                ep_ += 3;
 
                /* go to matching '>' (or next non-rfc822 char, like \n) */
-               for (; *ep_ != '>' && *ep != '\0' && IS_RFC822_CHAR(*ep_); ep_++)
+               for (; *ep_ != '>' && *ep_ != '\0' && IS_RFC822_CHAR(*ep_); ep_++)
                        ;
 
                /* include the bracket */