nserver

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

commit 92df0b2e0f33b9b3cabbaaea3a9925deac7792a8
parent dd13cae30c54a25c54b66ea7310e1b3f29b27f7f
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 22 Mar 2020 18:06:05 -0400

nserver: Update ssmean.

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 @@ -135,8 +135,8 @@ double ssmean(char *key) Record *rec = (Record *) TSTree_search(tst, key, strlen(key)); check(rec != NULL, "record not found"); - check(rec->st != NULL, "record's st invalid"); check(rec->deleted != 1, "record was deleted"); + check(rec->st != NULL, "record's st invalid"); // 2. Get mean. double m = Stats_mean(rec->st);