diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-29 22:38:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-29 22:38:56 +0100 |
commit | 07465938cf3a67a15739f96ba28a25e527afec89 (patch) | |
tree | cec3ae397b527e1f1d4883fe31602f41c2089ab7 /src/util/gnunet-service-resolver.c | |
parent | e871f8368c8a1f0867f68f656875e4c37c26f298 (diff) | |
download | gnunet-07465938cf3a67a15739f96ba28a25e527afec89.tar.gz gnunet-07465938cf3a67a15739f96ba28a25e527afec89.zip |
fix macro test
Diffstat (limited to 'src/util/gnunet-service-resolver.c')
-rw-r--r-- | src/util/gnunet-service-resolver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/gnunet-service-resolver.c b/src/util/gnunet-service-resolver.c index 5f8957d8c..065a224eb 100644 --- a/src/util/gnunet-service-resolver.c +++ b/src/util/gnunet-service-resolver.c | |||
@@ -1123,6 +1123,7 @@ check_get (void *cls, | |||
1123 | 1123 | ||
1124 | (void) cls; | 1124 | (void) cls; |
1125 | size = ntohs (get->header.size) - sizeof (*get); | 1125 | size = ntohs (get->header.size) - sizeof (*get); |
1126 | const char *str = &get[1]; | ||
1126 | direction = ntohl (get->direction); | 1127 | direction = ntohl (get->direction); |
1127 | if (GNUNET_NO == direction) | 1128 | if (GNUNET_NO == direction) |
1128 | { | 1129 | { |