mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
parent
eb80945699
commit
f14ae5a9ef
2 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,6 @@ int api_init(struct api *a, struct super_node *sn)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
memory_init(0);
|
||||
ret = queue_signalled_init(&a->pending, 1024, &memory_type_heap, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
|
@ -49,6 +49,7 @@ int super_node_init(struct super_node *sn)
|
|||
|
||||
log_init(&sn->log, V, LOG_ALL);
|
||||
#ifdef WITH_API
|
||||
memory_init(0);
|
||||
api_init(&sn->api, sn);
|
||||
#endif /* WITH_API */
|
||||
#ifdef WITH_WEB
|
||||
|
|
Loading…
Add table
Reference in a new issue