diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2018-02-19 18:56:03 +0100 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2018-03-01 14:50:29 +0100 |
commit | f821e6882b582b20fed8ec6106ad167dd680d9bf (patch) | |
tree | bafe5f642eb16e25824be8e478afd77ead4549d8 /daemon/network.c | |
parent | Merge branch 'obs-change-user' into 'master' (diff) | |
download | knot-resolver-f821e6882b582b20fed8ec6106ad167dd680d9bf.tar.xz knot-resolver-f821e6882b582b20fed8ec6106ad167dd680d9bf.zip |
map_t, set_t: unify memory allocation to mm_*
We use the knot style everywhere else; this was very similar and yet
different, so really annoying to me. In the long term we might better
migrate to qp-tries from knot, but the API differs, so it's delayed...
Diffstat (limited to 'daemon/network.c')
-rw-r--r-- | daemon/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/network.c b/daemon/network.c index c3d26af1..b3564567 100644 --- a/daemon/network.c +++ b/daemon/network.c @@ -50,8 +50,8 @@ void network_init(struct network *net, uv_loop_t *loop) { if (net != NULL) { net->loop = loop; - net->endpoints = map_make(); - net->tls_client_params = map_make(); + net->endpoints = map_make(NULL); + net->tls_client_params = map_make(NULL); } } |