_resolv_init();
#ifdef DNS_WATCHDOG_SUPPORT
- if (on_resolv_reinit_cb) on_resolv_reinit_cb();
+ if (on_resolv_reinit_cb) on_resolv_reinit_cb(name);
#endif
LOG(L_DBG, "DEBUG: resolv_reinit(): "
"DNS resolver has been reinitialized\n");
* If the callback is registered after forking, only the child process
* that installs the hook will call the callback.
*/
-typedef void (*on_resolv_reinit)(void);
+typedef void (*on_resolv_reinit)(str*);
int register_resolv_reinit_cb(on_resolv_reinit cb);
#endif