summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_erl_driver.c
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-08-31 09:43:41 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-08-31 09:43:41 +0000
commit15a175144d83d6177e9bbb923a7f7157e5ea8917 (patch)
tree92b7becc9610c46f87ddf7ab4c313642b007c4aa /src/couchdb/couch_erl_driver.c
parentac4075a7987dc43aadeb18a94e07f090d1b77546 (diff)
Merged json_term_changes branch back into trunk.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690668 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_erl_driver.c')
-rw-r--r--src/couchdb/couch_erl_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_erl_driver.c b/src/couchdb/couch_erl_driver.c
index 0dbedc8d..900ada4b 100644
--- a/src/couchdb/couch_erl_driver.c
+++ b/src/couchdb/couch_erl_driver.c
@@ -131,9 +131,9 @@ static int couch_drv_control(ErlDrvData drv_data, unsigned int command, const ch
if (collResult < 0)
response = 0; //lt
else if (collResult > 0)
- response = 1; //gt
+ response = 2; //gt
else
- response = 2; //eq
+ response = 1; //eq
return return_control_result(&response, sizeof(response), rbuf, rlen);
}