init resolver in new service api
authorChristian Grothoff <christian@grothoff.org>
Tue, 20 Sep 2016 17:44:51 +0000 (17:44 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 20 Sep 2016 17:44:51 +0000 (17:44 +0000)
src/util/service_new.c

index e9c986c43da3365ccf3fd770d4b0a6c07623f474..274b0f869b49ca8294c13c075fab4cc072068f99 100644 (file)
@@ -1693,6 +1693,8 @@ GNUNET_SERVICE_ruN_ (int argc,
         "Skewing clock by %dll ms\n",
         clock_offset);
   }
+  GNUNET_RESOLVER_connect (sh.cfg);
+  
   /* actually run service */
   err = 0;
   GNUNET_SCHEDULER_run (&service_main,