diff options
author | Derrell Lipman <derrell@samba.org> | 2006-10-15 21:09:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:03 -0500 |
commit | 3df891a5af0137b0215235cad6f06446df160782 (patch) | |
tree | 1d2508b07217b77f166184ff222c35cde247df23 /services/request.esp | |
parent | 3433468e12e6ecbe849a377a65bd2baaf5415b72 (diff) | |
download | samba-3df891a5af0137b0215235cad6f06446df160782.tar.gz samba-3df891a5af0137b0215235cad6f06446df160782.tar.bz2 samba-3df891a5af0137b0215235cad6f06446df160782.zip |
r19295: ldbbrowse: the search tab is now doing something vaguely reasonable.
(This used to be commit 039069b3fd10e2ea614c385c6b432b235e1c226b)
Diffstat (limited to 'services/request.esp')
-rw-r--r-- | services/request.esp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/services/request.esp b/services/request.esp index 982f39fcaa..970ea6b4fb 100644 --- a/services/request.esp +++ b/services/request.esp @@ -118,7 +118,7 @@ jsonrpc.Constant.ErrorCode.MethodNotFound = 4; * This error is also used to indicate an illegal parameter value, in server * scripts. */ -jsonrpc.Constant.ErrorCode.PaameterMismatch = 5; +jsonrpc.Constant.ErrorCode.ParameterMismatch = 5; /** * Error code, value 6: Permission Denied @@ -337,7 +337,7 @@ var nameFirstLetter = if (strspn(jsonInput.method, nameChars) != strlen(jsonInput.method)) { /* There's some illegal character in the service name */ - error.setError(JsonRpcError.MethodNotFound, + error.setError(jsonrpc.Constant.ErrorCode.MethodNotFound, "Illegal character found in method name."); error.Send(); return; @@ -364,7 +364,7 @@ if (strspn(substr(jsonInput.method, 0, 1), nameFirstLetter) != 1) if (strspn(jsonInput.service, "." + nameChars) != strlen(jsonInput.service)) { /* There's some illegal character in the service name */ - error.setError(JsonRpcError.IllegalService, + error.setError(jsonrpc.Constant.ErrorCode.IllegalService, "Illegal character found in service name."); error.Send(); return; @@ -379,7 +379,7 @@ if (strspn(jsonInput.service, "." + nameChars) != strlen(jsonInput.service)) */ if (typeof(strstr(jsonInput.service, "..")) != "pointer") { - error.setError(JsonRpcError.IllegalService, + error.setError(jsonrpc.Constant.ErrorCode.IllegalService, "Illegal use of two consecutive dots in service name"); error.Send(); return; |