aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-service-resolver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-29 22:38:56 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-29 22:38:56 +0100
commit07465938cf3a67a15739f96ba28a25e527afec89 (patch)
treecec3ae397b527e1f1d4883fe31602f41c2089ab7 /src/util/gnunet-service-resolver.c
parente871f8368c8a1f0867f68f656875e4c37c26f298 (diff)
downloadgnunet-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.c1
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 {