diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-12 09:38:02 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-12 09:38:02 +0200 |
commit | 10a9ae85edd4f0de7f06b96ed839d576a724b4a4 (patch) | |
tree | 213d406c1df7e64866abc213f7b13621f2bbee6b /src/util | |
parent | 0778ffa854d2bb626ebedfe3c1e8ca6a1209e42e (diff) | |
download | gnunet-10a9ae85edd4f0de7f06b96ed839d576a724b4a4.tar.gz gnunet-10a9ae85edd4f0de7f06b96ed839d576a724b4a4.zip |
clang is only happy with 'static', not with ={0}
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c index 3fe9b5883..4fd16f93d 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -478,7 +478,7 @@ check_ipv6_listed (const struct GNUNET_STRINGS_IPv6NetworkPolicy *list, | |||
478 | return GNUNET_NO; | 478 | return GNUNET_NO; |
479 | i = 0; | 479 | i = 0; |
480 | NEXT: | 480 | NEXT: |
481 | while (0 != (GNUNET_is_zero (&list[i].network))) | 481 | while (0 != GNUNET_is_zero (&list[i].network)) |
482 | { | 482 | { |
483 | for (j = 0; j < sizeof (struct in6_addr) / sizeof (int); j++) | 483 | for (j = 0; j < sizeof (struct in6_addr) / sizeof (int); j++) |
484 | if (((((int *) ip)[j] & ((int *) &list[i].netmask)[j])) != | 484 | if (((((int *) ip)[j] & ((int *) &list[i].netmask)[j])) != |