diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2017-05-16 14:31:16 +0200 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-05-16 15:34:57 +0200 |
commit | 05d47bd53e71480f1b276bd895f1c25088201e48 (patch) | |
tree | 6d9c8169ed695d17c90972ae6dd163c45a3d82b1 /nest/cli.c | |
parent | b880e3ffaea12c3231975157bc51b5f90a2f2433 (diff) |
Linpool: default allocation size
Diffstat (limited to 'nest/cli.c')
-rw-r--r-- | nest/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -313,8 +313,8 @@ cli_new(void *priv) c->event->hook = cli_event; c->event->data = c; c->cont = cli_hello; - c->parser_pool = lp_new(c->pool, 4080); - c->show_pool = lp_new(c->pool, 4080); + c->parser_pool = lp_new_default(c->pool); + c->show_pool = lp_new_default(c->pool); c->rx_buf = mb_alloc(c->pool, CLI_RX_BUF_SIZE); ev_schedule(c->event); return c; |