Commit c396481e authored by Marek Vavrusa's avatar Marek Vavrusa

daemon,lib: cleanup

parent 0e902b94
...@@ -418,7 +418,7 @@ int main(int argc, char **argv) ...@@ -418,7 +418,7 @@ int main(int argc, char **argv)
ret = engine_start(&engine, config ? config : "config"); ret = engine_start(&engine, config ? config : "config");
if (ret == 0) { if (ret == 0) {
if (keyfile) { if (keyfile) {
auto_free char *cmd = afmt("trust_anchors.file = '%s'", keyfile); auto_free char *cmd = afmt("trust_anchors.config('%s')", keyfile);
if (!cmd) { if (!cmd) {
kr_log_error("[system] not enough memory\n"); kr_log_error("[system] not enough memory\n");
return EXIT_FAILURE; return EXIT_FAILURE;
......
...@@ -541,7 +541,6 @@ static bool retransmit(struct qr_task *task) ...@@ -541,7 +541,6 @@ static bool retransmit(struct qr_task *task)
static void on_retransmit(uv_timer_t *req) static void on_retransmit(uv_timer_t *req)
{ {
uv_timer_stop(req);
struct qr_task *task = req->data; struct qr_task *task = req->data;
assert(task->finished == false); assert(task->finished == false);
assert(task->timeout != NULL); assert(task->timeout != NULL);
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <libknot/processing/layer.h> #include <libknot/processing/layer.h>
#include "lib/defines.h" #include "lib/defines.h"
#include "lib/utils.h" #include "lib/utils.h"
#include "lib/layer.h"
/* /*
* Forward decls * Forward decls
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment