Ensure we initialize dns resolver conditions and mutexes before they're used.
This should address some possible Mutex reinitialization warnings
when calling fast_forward_client() early on.
@@ -1467,6 +1467,9 @@ initializer (void) {
parsing_spinner->processed = &(logs->processed);
parsing_spinner->filename = &(logs->filename);
+ /* init reverse lookup thread */
+ gdns_init ();
+
/* init random number generator */
srand (getpid ());
init_pre_storage (logs);
@@ -1617,8 +1620,6 @@ main (int argc, char **argv) {
logs->offset = *logs->processed;
parsing_spinner->label = "RENDERING";
- /* init reverse lookup thread */
- gdns_init ();
parse_initial_sort ();
allocate_holder ();
