diff options
Diffstat (limited to 'nserver/src/protocol.c')
-rw-r--r-- | nserver/src/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nserver/src/protocol.c b/nserver/src/protocol.c index 648e7b7..10d7a83 100644 --- a/nserver/src/protocol.c +++ b/nserver/src/protocol.c @@ -51,7 +51,7 @@ int ssdelete(char *key) check(key != NULL || strlen(key) < 1, "key invalid"); check(tst != NULL, "tstree not initialized"); - Record *rec = (Record *) TSTree_search_prefix(tst, key, strlen(key)); + Record *rec = (Record *) TSTree_search(tst, key, strlen(key)); if (rec == NULL) { // key does not exists. return 0; |