diff options
author | David Timber <mieabby@gmail.com> | 2020-09-03 11:38:09 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-03 11:38:09 +0930 |
commit | e81c2636cee72af718e99fd98006fa9277de2a65 (patch) | |
tree | dffb8cb9b8d9f4eb55a55fedc5d63c8a0ef6c4a3 /src/proone-htbthost.c | |
parent | f4f959f7842cd9b28500fcd7f506493606376db5 (diff) |
* Impl: CNCP
* [htbt] Use randomly generated number for SOLICIT request
* Die on pth sync funcs only if debug build
* Fix wrong use of pth_mutex_acquire(): use with event can result in failure
* [htbt] Take "blackhole" fd as param
* Remove unused include to reduce compile time
* [htbt] Add const macro values for random msg_id gen
* [resolv] Make prne_resolv_prm_t reusable
* [resolv] Fix mem leak in proone-resolv
* [resolv] Sanity check before returning prm so
users don't have to worry about SEGFAULT
* Add txtrec-*.sh for CNCP
Diffstat (limited to 'src/proone-htbthost.c')
-rw-r--r-- | src/proone-htbthost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proone-htbthost.c b/src/proone-htbthost.c index a5b7f83..b4d8bdd 100644 --- a/src/proone-htbthost.c +++ b/src/proone-htbthost.c @@ -471,6 +471,7 @@ int main (const int argc, const char **args) { param.cb_f.hostinfo = cb_hostinfo; param.cb_f.tmpfile = mktmpfile; param.cb_f.ny_bin = cb_ny_bin; + param.blackhole = open("/dev/null", O_WRONLY); w = wkr_arr + 1; htbt = prne_alloc_htbt(w, param); |