From b2fde8f0dfe2d60b08724e92f919c1f68223101f Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 17 Oct 2011 17:50:09 -0400
Subject: [PATCH] Consistent rpc result codes.

---
 src/com/gitblit/Constants.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 6300fa2..d6495e6 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -212,7 +212,7 @@
 					return type;
 				}
 			}
-			return LIST_REPOSITORIES;
+			return null;
 		}
 
 		public boolean exceeds(RpcRequest type) {

--
Gitblit v1.9.1