aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-29 22:26:21 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-29 22:26:21 +0100
commite871f8368c8a1f0867f68f656875e4c37c26f298 (patch)
treec2aa6a2b40213d695e8f047a51695563f44d74b8 /src/namestore
parentf8bccfbb602bdbed4bcc00fd3c6c3a00add82416 (diff)
downloadgnunet-e871f8368c8a1f0867f68f656875e4c37c26f298.tar.gz
gnunet-e871f8368c8a1f0867f68f656875e4c37c26f298.zip
finish (?) libgnunetatstransport for now
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-service-namestore.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index cdd52cc42..0558649ca 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -1221,7 +1221,6 @@ check_record_lookup (void *cls,
1221{ 1221{
1222 uint32_t name_len; 1222 uint32_t name_len;
1223 size_t src_size; 1223 size_t src_size;
1224 const char *name_tmp;
1225 1224
1226 (void) cls; 1225 (void) cls;
1227 name_len = ntohl (ll_msg->label_len); 1226 name_len = ntohl (ll_msg->label_len);
@@ -1231,13 +1230,7 @@ check_record_lookup (void *cls,
1231 GNUNET_break (0); 1230 GNUNET_break (0);
1232 return GNUNET_SYSERR; 1231 return GNUNET_SYSERR;
1233 } 1232 }
1234 1233 GNUNET_MQ_check_zero_termination (ll_msg);
1235 name_tmp = (const char *) &ll_msg[1];
1236 if ('\0' != name_tmp[name_len -1])
1237 {
1238 GNUNET_break (0);
1239 return GNUNET_SYSERR;
1240 }
1241 return GNUNET_OK; 1234 return GNUNET_OK;
1242} 1235}
1243 1236