Returns now GNUNET_SYSERR
[oweals/gnunet.git] / src / util / gnunet-resolver.c
index 9686d3a068edbb53f34feba1da0af543137aaaa3..18ce232f2d3bbf88ef995eacd510dff3e4a238da 100644 (file)
@@ -49,21 +49,19 @@ printer (void *cls,
  * Main function that will be run by the scheduler.
  *
  * @param cls closure
- * @param sched the scheduler to use
  * @param args remaining command-line arguments
  * @param cfgfile name of the configuration file used (for saving, can be NULL!)
  * @param cfg configuration
  */
 static void
 run (void *cls,
-     struct GNUNET_SCHEDULER_Handle *sched,
      char *const *args,
      const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   if (args[0] == NULL)
     return;
-  GNUNET_RESOLVER_ip_get (sched, cfg,
+  GNUNET_RESOLVER_ip_get (cfg,
                          args[0],
                          AF_UNSPEC,
                          GET_TIMEOUT,