summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-01-24 13:21:48 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-01-24 13:21:48 +0100
commitd1b4837082a800978142a31d6b6d40e2e4814069 (patch)
treeba172e0b1aaab72108adb217042711500aa4d71c /src/fastd.h
parentbb15efd0202c134e4623a610ffbb73372d43408a (diff)
downloadfastd-d1b4837082a800978142a31d6b6d40e2e4814069.tar
fastd-d1b4837082a800978142a31d6b6d40e2e4814069.zip
resolver: write whole hostname instead of a pointer to the resolver pipe
Shouldn't make a difference, but feels cleaner now, and silences a clang-analyzer warning.
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 9223ffe..b2b7de7 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -109,10 +109,10 @@ union fastd_peer_address {
};
struct fastd_resolve_return {
- char *hostname;
- fastd_peer_address_t constraints;
-
fastd_peer_address_t addr;
+
+ fastd_peer_address_t constraints;
+ size_t hostname_len;
};
struct fastd_log_file {