summaryrefslogtreecommitdiffstats
path: root/src/resolve.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 20:17:18 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 20:17:18 +0200
commit80f981c0521dc8d7202d27430f3a5280bbd8484d (patch)
tree6992b4b7e8d5422e836b790853fdd2186b8b19ca /src/resolve.c
parent2b3043e578f00a5071dfae40c237b86cc6d70c7e (diff)
downloadfastd-80f981c0521dc8d7202d27430f3a5280bbd8484d.tar
fastd-80f981c0521dc8d7202d27430f3a5280bbd8484d.zip
Move handling of resolve returns requests to a new source file
Diffstat (limited to 'src/resolve.c')
-rw-r--r--src/resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve.c b/src/resolve.c
index 673c606..6267838 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -94,7 +94,7 @@ static void* resolve_peer(void *varg) {
ret->n_addr = n_addr;
- if (write(arg->ctx->resolvewfd, ret, sizeof(fastd_resolve_return_t) + n_addr*sizeof(fastd_peer_address_t)) < 0)
+ if (write(arg->ctx->async_wfd, ret, sizeof(fastd_resolve_return_t) + n_addr*sizeof(fastd_peer_address_t)) < 0)
pr_error_errno(arg->ctx, "can't write resolve return");
freeaddrinfo(res);