From 01448c7f44bf38a3b2a39d2888721ac8b232d6a1 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 3 Feb 2020 23:26:28 -0500 Subject: nserver/src/protocol.c: ssample_parent -> sssample_parent. * nserver/src/protocol.c (ssample_parent): Rename to... (sssample_parent): ...this. (sssample): Update function. --- nserver/src/protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nserver/src/protocol.c') diff --git a/nserver/src/protocol.c b/nserver/src/protocol.c index 733611b..6043dcf 100644 --- a/nserver/src/protocol.c +++ b/nserver/src/protocol.c @@ -74,7 +74,7 @@ int ssdelete(char *key) return -1; } -int ssample_parent(char *key, double s) +int sssample_parent(char *key, double s) { check(key != NULL || strlen(key) < 1, "key invalid"); check(tst != NULL, "tstree not initialized"); @@ -111,7 +111,7 @@ double sssample(char *key, double s) Stats_sample(rec->st, s); // 3. Sample parent! - int rc = ssample_parent(key, s); + int rc = sssample_parent(key, s); check(rc >= 0, "sampling parent failed"); // 4. Get mean. -- cgit v1.2.3