nserver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit bada83f66662e1a8c95888280d6a228b4da9ded2
parent 1165a168cbe986c2e3224b760596d5543caa6a6d
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue, 25 Feb 2020 21:03:16 -0500

nserver: Update sscreate.

* nserver/src/protocol.c (sscreate) Fix typo.

Diffstat:
nserver/src/protocol.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nserver/src/protocol.c b/nserver/src/protocol.c @@ -10,7 +10,7 @@ int sscreate(char *key) Record *rec = (Record *) TSTree_search(tst, key, strlen(key)); // If it's already there; there's nothing to do. - if (rec != NULL && rec-> deleted == 0) { + if (rec != NULL && rec->deleted == 0) { return 1; } // If it's already there and deleted, undelete it.