[gmime] Fixed the addrspec url scanner for the html filter



commit b961517ad6fed1d4391a113b5691a149e76d49d4
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Mon Feb 18 21:31:07 2013 -0500

    Fixed the addrspec url scanner for the html filter
    
    2013-02-18  Jeffrey Stedfast  <fejj gnome org>
    
        * util/url-scanner.c (url_addrspec_start): Fixed the logic to
        actually scan for the beginning of the mailbox.

 ChangeLog          |    5 +++++
 util/url-scanner.c |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a2a7ed4..2db6143 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-18  Jeffrey Stedfast  <fejj gnome org>
+
+       * util/url-scanner.c (url_addrspec_start): Fixed the logic to
+       actually scan for the beginning of the mailbox.
+
 2012-12-09  Jeffrey Stedfast  <fejj gnome org>
 
        * README: Bumped version
diff --git a/util/url-scanner.c b/util/url-scanner.c
index 3117930..aeb7787 100644
--- a/util/url-scanner.c
+++ b/util/url-scanner.c
@@ -188,6 +188,8 @@ url_addrspec_start (const char *in, const char *pos, const char *inend, urlmatch
        if (inptr == in)
                return FALSE;
        
+       inptr--;
+       
        while (inptr > in) {
                if (is_atom (*inptr))
                        inptr--;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]