diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2012-08-29 11:57:30 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2012-08-29 11:57:30 +0000 |
commit | 4923f96f7e8bd41082ec55e3d80b576051148544 (patch) | |
tree | e63e6a5be75511a9b6226d1c24b816197b20dc3b /www/mod_auth_imap2 | |
parent | 2bb716e0835977e37c32d9768280dd8911437a0c (diff) |
Notes
Diffstat (limited to 'www/mod_auth_imap2')
-rw-r--r-- | www/mod_auth_imap2/files/patch-mod_auth_imap.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/mod_auth_imap2/files/patch-mod_auth_imap.c b/www/mod_auth_imap2/files/patch-mod_auth_imap.c new file mode 100644 index 000000000000..ba3ed6885f0e --- /dev/null +++ b/www/mod_auth_imap2/files/patch-mod_auth_imap.c @@ -0,0 +1,23 @@ +--- ./mod_auth_imap.c.orig 2006-05-08 01:22:43.000000000 +0200 ++++ ./mod_auth_imap.c 2012-08-25 19:06:59.000000000 +0200 +@@ -170,7 +170,7 @@ + tcp_gets(Sock,result,500); + + //skip lines that start with "*" +- if (strncmp(result,"* ",2 == 0)) { ++ if (strncmp(result,"* ",2) == 0) { + tcp_gets(Sock,result,500); + } + +@@ -188,6 +188,11 @@ + tcp_puts(Sock,buf); + tcp_gets(Sock,result,500); + ++ //skip lines that start with "*" ++ if (strncmp(result,"* ",2) == 0) { ++ tcp_gets(Sock,result,500); ++ } ++ + if (strncmp(result,"A002 OK",7) == 0) { + if (logflag) { + ap_log_rerror(APLOG_MARK,APLOG_WARNING|APLOG_NOERRNO,0,r,"mod_auth_imap: Verified login for user %s.", username); |