aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-17 20:40:23 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-17 20:40:23 +0000
commitd86a270b3b0691b651ee6d2b5d5a18b4bd27bbf8 (patch)
tree2adc0eac0eb8525a7eebd37d74ba96561c2942ad /src/gns
parent753f60a17b00bbcf56aed4da6e97e2f9b1f49445 (diff)
downloadgnunet-d86a270b3b0691b651ee6d2b5d5a18b4bd27bbf8.tar.gz
gnunet-d86a270b3b0691b651ee6d2b5d5a18b4bd27bbf8.zip
-check return value
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-service-gns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index 28e6c3cc7..50b370264 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -469,6 +469,8 @@ perform_dht_put (const struct GNUNET_CRYPTO_EcdsaPrivateKey *key,
469 label, 469 label,
470 rd_public, 470 rd_public,
471 rd_public_count); 471 rd_public_count);
472 if (NULL == block)
473 return NULL; /* whoops */
472 block_size = ntohl (block->purpose.size) 474 block_size = ntohl (block->purpose.size)
473 + sizeof (struct GNUNET_CRYPTO_EcdsaSignature) 475 + sizeof (struct GNUNET_CRYPTO_EcdsaSignature)
474 + sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey); 476 + sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey);