You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/08/07 20:55:27 UTC

svn commit: r983283 - /james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/AbstractConfigurableAsyncServer.java

Author: norman
Date: Sat Aug  7 18:55:26 2010
New Revision: 983283

URL: http://svn.apache.org/viewvc?rev=983283&view=rev
Log:
Correct parsing of config

Modified:
    james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/AbstractConfigurableAsyncServer.java

Modified: james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/AbstractConfigurableAsyncServer.java
URL: http://svn.apache.org/viewvc/james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/AbstractConfigurableAsyncServer.java?rev=983283&r1=983282&r2=983283&view=diff
==============================================================================
--- james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/AbstractConfigurableAsyncServer.java (original)
+++ james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/AbstractConfigurableAsyncServer.java Sat Aug  7 18:55:26 2010
@@ -303,12 +303,12 @@ public abstract class AbstractConfigurab
                     .append(hostName);
         getLogger().info(infoBuffer.toString());
 
-        boolean autodetect = handlerConfiguration.getBoolean(HELLO_NAME + "/[@autodetect]", true);
+        boolean autodetect = handlerConfiguration.getBoolean(HELLO_NAME + ".[@autodetect]", true);
         if (autodetect) {
             helloName = hostName;
         } else {
             // Should we use the defaultdomain here ?
-            helloName = handlerConfiguration.getString(HELLO_NAME + "/localhost");
+            helloName = handlerConfiguration.getString(HELLO_NAME + ".localhost");
         }
 
         infoBuffer =



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