summaryrefslogtreecommitdiff
path: root/src/ats/ats_api2_transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-29 22:08:02 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-29 22:08:02 +0100
commitce327e34da10ef8722f06255f0060d6e4d1866ab (patch)
tree2dfab668c858c3f8d994d9c7b465a4fb5b82a7a1 /src/ats/ats_api2_transport.c
parent333ed5b94540b68b9967885c215b57818f22fb79 (diff)
add macro to check 0-terminated string messages, and fix FTBFS
Diffstat (limited to 'src/ats/ats_api2_transport.c')
-rw-r--r--src/ats/ats_api2_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats/ats_api2_transport.c b/src/ats/ats_api2_transport.c
index b8133beea..6add4baf5 100644
--- a/src/ats/ats_api2_transport.c
+++ b/src/ats/ats_api2_transport.c
@@ -190,8 +190,8 @@ static int
check_ats_address_suggestion (void *cls,
const struct AddressSuggestionMessage *m)
{
- // FIXME: check 0-termination!
- // FIXME: MQ API should really have a macro for this!
+ (void) cls;
+ GNUNET_MQ_check_zero_termination (m);
return GNUNET_SYSERR;
}