diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-03-08 14:24:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-03-08 14:24:22 +0100 |
commit | 17f98215f27d61d966cb1d7a11197e102b785d16 (patch) | |
tree | 706fcda4aa957e9aa1a35833342f25de08bc360e /src/gns/gnunet-gns.c | |
parent | 43a0b73b24875052b70809c5ae4d6387551f8f53 (diff) | |
download | gnunet-17f98215f27d61d966cb1d7a11197e102b785d16.tar.gz gnunet-17f98215f27d61d966cb1d7a11197e102b785d16.zip |
fix output of hostname by gnunet-gns
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 32cfba5bb..771a7dcc8 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -180,7 +180,7 @@ run (void *cls, | |||
180 | (void) cls; | 180 | (void) cls; |
181 | (void) args; | 181 | (void) args; |
182 | (void) cfgfile; | 182 | (void) cfgfile; |
183 | 183 | ||
184 | cfg = c; | 184 | cfg = c; |
185 | gns = GNUNET_GNS_connect (cfg); | 185 | gns = GNUNET_GNS_connect (cfg); |
186 | if (NULL == gns) | 186 | if (NULL == gns) |
@@ -190,7 +190,7 @@ run (void *cls, | |||
190 | global_ret = 2; | 190 | global_ret = 2; |
191 | return; | 191 | return; |
192 | } | 192 | } |
193 | 193 | ||
194 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, | 194 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, |
195 | NULL); | 195 | NULL); |
196 | 196 | ||
@@ -209,13 +209,13 @@ run (void *cls, | |||
209 | rtype, | 209 | rtype, |
210 | local_options, | 210 | local_options, |
211 | &process_lookup_result, | 211 | &process_lookup_result, |
212 | NULL); | 212 | lookup_name); |
213 | if (NULL == lr) | 213 | if (NULL == lr) |
214 | { | 214 | { |
215 | global_ret = 2; | 215 | global_ret = 2; |
216 | GNUNET_SCHEDULER_shutdown (); | 216 | GNUNET_SCHEDULER_shutdown (); |
217 | return; | 217 | return; |
218 | } | 218 | } |
219 | } | 219 | } |
220 | 220 | ||
221 | 221 | ||