FS-9775: Renamed calls *_salloc to *_prealloc

This commit is contained in:
Shane Bryldt authored and Mike Jerris committed 2017-01-25 14:59:33 -06:00
1 parent b331b72ebe
commit d86a8d89a4
6 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ KS_DECLARE(ks_status_t) ks_dht2_alloc(ks_dht2_t **dht, ks_pool_t *pool)
/**
*
*/
KS_DECLARE(ks_status_t) ks_dht2_salloc(ks_dht2_t *dht, ks_pool_t *pool)
KS_DECLARE(ks_status_t) ks_dht2_prealloc(ks_dht2_t *dht, ks_pool_t *pool)
{
ks_assert(dht);
ks_assert(pool);
@@ -61,7 +61,7 @@ KS_DECLARE(ks_status_t) ks_dht2_init(ks_dht2_t *dht, const uint8_t *nodeid)
ks_assert(dht);
ks_assert(dht->pool);
if (ks_dht2_nodeid_salloc(&dht->nodeid, dht->pool) != KS_STATUS_SUCCESS) {
if (ks_dht2_nodeid_prealloc(&dht->nodeid, dht->pool) != KS_STATUS_SUCCESS) {
return KS_STATUS_FAIL;
}