]> Pileus Git - ~andy/fetchmail/blobdiff - pop3.c
Can specify multiple spam-blocks now.
[~andy/fetchmail] / pop3.c
diff --git a/pop3.c b/pop3.c
index 4ad5bdf247b2ddd2d48ea4d2b567454bb7cd8ed0..21432bcde8e6bf5cd34c3231007d9495f30472b2 100644 (file)
--- a/pop3.c
+++ b/pop3.c
@@ -67,7 +67,7 @@ int pop3_ok (int sock, char *argbuf)
 #endif /* OPIE */
            ok = 0;
        }
-       else if (strcmp(buf,"-ERR") == 0)
+       else if (strncmp(buf,"-ERR", 4) == 0)
        {
            if (phase > PHASE_GETAUTH) 
                ok = PS_PROTOCOL;