From owner-svn-ports-head@FreeBSD.ORG Wed Aug 29 11:57:30 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF38A1065686; Wed, 29 Aug 2012 11:57:30 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B97EA8FC18; Wed, 29 Aug 2012 11:57:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7TBvUbF039955; Wed, 29 Aug 2012 11:57:30 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7TBvUrw039954; Wed, 29 Aug 2012 11:57:30 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201208291157.q7TBvUrw039954@svn.freebsd.org> From: Olli Hauer Date: Wed, 29 Aug 2012 11:57:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303335 - head/www/mod_auth_imap2/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 11:57:30 -0000 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 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);