diff options
author | ng0 <ng0@n0.is> | 2019-02-12 11:09:26 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-02-12 11:09:26 +0000 |
commit | c886489c977fb1e67e47db88c1f5629f80b1dc6b (patch) | |
tree | 4741879150ae077af581c2dba6e86557b2cd23b8 /src/util | |
parent | 9524905c93fe8ff4b48cbb228ce5608d1b9b729b (diff) | |
parent | abf25faba2e79ff44841d21e2fc90f825e9979c1 (diff) | |
download | gnunet-c886489c977fb1e67e47db88c1f5629f80b1dc6b.tar.gz gnunet-c886489c977fb1e67e47db88c1f5629f80b1dc6b.zip |
Merge branch 'master' of gnunet.org:gnunet
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/dnsparser.c | 6 | ||||
-rw-r--r-- | src/util/service.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/util/dnsparser.c b/src/util/dnsparser.c index 2baa76ef2..55a9ff6c8 100644 --- a/src/util/dnsparser.c +++ b/src/util/dnsparser.c | |||
@@ -25,15 +25,19 @@ | |||
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #if HAVE_LIBIDN2 | ||
28 | #if HAVE_IDN2_H | 29 | #if HAVE_IDN2_H |
29 | #include <idn2.h> | 30 | #include <idn2.h> |
30 | #elif HAVE_IDN2_IDN2_H | 31 | #elif HAVE_IDN2_IDN2_H |
31 | #include <idn2/idn2.h> | 32 | #include <idn2/idn2.h> |
32 | #elif HAVE_IDNA_H | 33 | #endif |
34 | #elif HAVE_LIBIDN | ||
35 | #if HAVE_IDNA_H | ||
33 | #include <idna.h> | 36 | #include <idna.h> |
34 | #elif HAVE_IDN_IDNA_H | 37 | #elif HAVE_IDN_IDNA_H |
35 | #include <idn/idna.h> | 38 | #include <idn/idna.h> |
36 | #endif | 39 | #endif |
40 | #endif | ||
37 | #if WINDOWS | 41 | #if WINDOWS |
38 | #include <idn-free.h> | 42 | #include <idn-free.h> |
39 | #endif | 43 | #endif |
diff --git a/src/util/service.c b/src/util/service.c index 5117f006f..f38e4b353 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -888,6 +888,8 @@ accept_client (void *cls) | |||
888 | start_client (slc->sh, | 888 | start_client (slc->sh, |
889 | sock); | 889 | sock); |
890 | } | 890 | } |
891 | if (0 != sh->suspend_state) | ||
892 | return; | ||
891 | slc->listen_task | 893 | slc->listen_task |
892 | = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL, | 894 | = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL, |
893 | slc->listen_socket, | 895 | slc->listen_socket, |