diff options
Diffstat (limited to 'src/couchdb/couch_erl_driver.c')
-rw-r--r-- | src/couchdb/couch_erl_driver.c | 4 |
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); } |