]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Fixed address parsing for cases with quotes and multiple addresses
authormortenp <none@none>
Tue, 20 Mar 2007 18:19:29 +0000 (05:19 +1100)
committermortenp <none@none>
Tue, 20 Mar 2007 18:19:29 +0000 (05:19 +1100)
ChangeLog
src/find_email_adr.c

index 8f07e30eeaed7aa5085d846cbf38c2506c940f23..f256c102349c69e51b90414fab8aaea27ea8477a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+ o Fixed address parsing for cases with quotes and multiple addresses
  o Added contrib/recievestrip/ MIME processor (Sascha Sommer)
  o Fixed digest multipart boundary (Thanks to Ulrich Mueller)
  o Added support for mail size limit (Christoph Wilke)
index e0b94ec4fdeb665e4cf317a8efad57c11e726a34..93d7f397844db3066d3ce5de573a3da34c3d98f9 100644 (file)
@@ -214,7 +214,7 @@ oncemore:
                                        goto oncemore;
                                }
                        }
-                       if(c1 == NULL || (c2 && c2 < p)) {
+                       if((c1 == NULL) || (c1 > p) || (c2 && c2 < p)) {
                                *p = '\0';
                                p += 1;
                        } else {