You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/06/20 21:05:36 UTC

incubator-joshua git commit: bugfix on bugfix

Repository: incubator-joshua
Updated Branches:
  refs/heads/master 4f73306c6 -> 55e88d1fc


bugfix on bugfix


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/55e88d1f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/55e88d1f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/55e88d1f

Branch: refs/heads/master
Commit: 55e88d1fce0e2654d090c14d999e43acd6ac8820
Parents: 4f73306
Author: Matt Post <po...@cs.jhu.edu>
Authored: Mon Jun 20 17:05:31 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Mon Jun 20 17:05:31 2016 -0400

----------------------------------------------------------------------
 src/main/java/org/apache/joshua/server/ServerThread.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/55e88d1f/src/main/java/org/apache/joshua/server/ServerThread.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/joshua/server/ServerThread.java b/src/main/java/org/apache/joshua/server/ServerThread.java
index 0ebd10a..d054515 100644
--- a/src/main/java/org/apache/joshua/server/ServerThread.java
+++ b/src/main/java/org/apache/joshua/server/ServerThread.java
@@ -215,7 +215,7 @@ public class ServerThread extends Thread implements HttpHandler {
     } else if (type.equals("add_rule")) {
       String argTokens[] = args.split(" \\|\\|\\| ");
   
-      if (argTokens.length <= 3) {
+      if (argTokens.length < 3) {
         LOG.error("* INVALID RULE '{}'", meta);
         return;
       }