diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
commit | 75a33a1499cf60ea4364c9aa673816629a6c1413 (patch) | |
tree | 0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/util/gnunet-resolver.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/util/gnunet-resolver.c')
-rw-r--r-- | src/util/gnunet-resolver.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/gnunet-resolver.c b/src/util/gnunet-resolver.c index 9686d3a06..18ce232f2 100644 --- a/src/util/gnunet-resolver.c +++ b/src/util/gnunet-resolver.c | |||
@@ -49,21 +49,19 @@ printer (void *cls, | |||
49 | * Main function that will be run by the scheduler. | 49 | * Main function that will be run by the scheduler. |
50 | * | 50 | * |
51 | * @param cls closure | 51 | * @param cls closure |
52 | * @param sched the scheduler to use | ||
53 | * @param args remaining command-line arguments | 52 | * @param args remaining command-line arguments |
54 | * @param cfgfile name of the configuration file used (for saving, can be NULL!) | 53 | * @param cfgfile name of the configuration file used (for saving, can be NULL!) |
55 | * @param cfg configuration | 54 | * @param cfg configuration |
56 | */ | 55 | */ |
57 | static void | 56 | static void |
58 | run (void *cls, | 57 | run (void *cls, |
59 | struct GNUNET_SCHEDULER_Handle *sched, | ||
60 | char *const *args, | 58 | char *const *args, |
61 | const char *cfgfile, | 59 | const char *cfgfile, |
62 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 60 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
63 | { | 61 | { |
64 | if (args[0] == NULL) | 62 | if (args[0] == NULL) |
65 | return; | 63 | return; |
66 | GNUNET_RESOLVER_ip_get (sched, cfg, | 64 | GNUNET_RESOLVER_ip_get (cfg, |
67 | args[0], | 65 | args[0], |
68 | AF_UNSPEC, | 66 | AF_UNSPEC, |
69 | GET_TIMEOUT, | 67 | GET_TIMEOUT, |