diff options
author | rsiddharth <s@ricketyspace.net> | 2020-02-03 23:26:28 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-04-17 20:56:36 -0400 |
commit | 01448c7f44bf38a3b2a39d2888721ac8b232d6a1 (patch) | |
tree | 4f3ad11d9744aa2128a6a6b221dbe8a669414c25 | |
parent | 688f7c449ce1b9dbb49580100817108c49434775 (diff) |
nserver/src/protocol.c: ssample_parent -> sssample_parent.
* nserver/src/protocol.c (ssample_parent): Rename to...
(sssample_parent): ...this.
(sssample): Update function.
-rw-r--r-- | nserver/src/protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. |