Browse code

oops, duplicate

Thomas Cataldo authored on 08/02/2018 11:50:15
Showing 1 changed files
... ...
@@ -162,7 +162,7 @@ public class LmtpFiltersVerticle extends Verticle {
162 162
 
163 163
 	private org.apache.james.mime4j.dom.Message parseMessage(ByteBuf buf) {
164 164
 
165
-		org.apache.james.mime4j.dom.Message message = Mime4JHelper.parse(new ByteBufInputStream(buf));
165
+		org.apache.james.mime4j.dom.Message message = Mime4JHelper.parse(new ByteBufInputStream(buf.duplicate()));
166 166
 		sanitizeEmail(message);
167 167
 		return message;
168 168
 	}