From c153fd5bd099ed2490a9914b7379661fb24078b3 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 13 Feb 2009 10:37:10 +0000 Subject: [PATCH] Fixed an infinite recursion in Base64 --- src/main/java/org/jboss/netty/handler/codec/base64/Base64.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/handler/codec/base64/Base64.java b/src/main/java/org/jboss/netty/handler/codec/base64/Base64.java index cc4366b793..1dacb70a19 100644 --- a/src/main/java/org/jboss/netty/handler/codec/base64/Base64.java +++ b/src/main/java/org/jboss/netty/handler/codec/base64/Base64.java @@ -75,7 +75,7 @@ public class Base64 { if (dialect == null) { throw new NullPointerException("dialect"); } - return breakLines(dialect); + return dialect.breakLinesByDefault; } public static ChannelBuffer encode(ChannelBuffer src) {