james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r912197 - /james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
Date Sat, 20 Feb 2010 19:24:41 GMT
Author: norman
Date: Sat Feb 20 19:24:41 2010
New Revision: 912197

URL: http://svn.apache.org/viewvc?rev=912197&view=rev
Log:
RETR needs to write the full message to client (JAMES-973)

Modified:
    james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java

Modified: james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
URL: http://svn.apache.org/viewvc/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java?rev=912197&r1=912196&r2=912197&view=diff
==============================================================================
--- james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
(original)
+++ james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
Sat Feb 20 19:24:41 2010
@@ -140,7 +140,10 @@
 					}
 					response.appendLine(line);
 
-					lines--;
+					if (lines != -1) {
+					    // only count down lines if we have so line limit here
+					    lines--;
+					}
 
 				}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message