Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 11:57:30 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303335 - head/www/mod_auth_imap2/files
Message-ID:  <201208291157.q7TBvUrw039954@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Wed Aug 29 11:57:30 2012
New Revision: 303335
URL: http://svn.freebsd.org/changeset/ports/303335

Log:
  - add missing patch
  
  PR:             ports/166488
  Submitted by:   Radim Kolar <hsn@filez.com>

Added:
  head/www/mod_auth_imap2/files/
  head/www/mod_auth_imap2/files/patch-mod_auth_imap.c   (contents, props changed)

Added: head/www/mod_auth_imap2/files/patch-mod_auth_imap.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_auth_imap2/files/patch-mod_auth_imap.c	Wed Aug 29 11:57:30 2012	(r303335)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208291157.q7TBvUrw039954>