aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-08-08 16:44:48 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-08-08 16:44:48 +0200
commit615487401fd79c62ea42ad15ad3740995030ec5c (patch)
treef39e0150d06a32f8ce256bac53d021b9f25afebe /src/datastore
parent9b0697c03ccba29f5130509b2affe7ee5bbea2b3 (diff)
downloadgnunet-615487401fd79c62ea42ad15ad3740995030ec5c.tar.gz
gnunet-615487401fd79c62ea42ad15ad3740995030ec5c.zip
-fix nptr issues
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index d658b9c85..a49bc8586 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -1400,7 +1400,7 @@ GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h,
1400 LOG (GNUNET_ERROR_TYPE_DEBUG, 1400 LOG (GNUNET_ERROR_TYPE_DEBUG,
1401 "Asked to look for data of type %u under key `%s'\n", 1401 "Asked to look for data of type %u under key `%s'\n",
1402 (unsigned int) type, 1402 (unsigned int) type,
1403 GNUNET_h2s (key)); 1403 (NULL != key) ? GNUNET_h2s (key) : "NULL");
1404 if (NULL == key) 1404 if (NULL == key)
1405 { 1405 {
1406 env = GNUNET_MQ_msg (gm, 1406 env = GNUNET_MQ_msg (gm,
@@ -1430,7 +1430,7 @@ GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h,
1430 { 1430 {
1431 LOG (GNUNET_ERROR_TYPE_DEBUG, 1431 LOG (GNUNET_ERROR_TYPE_DEBUG,
1432 "Could not queue request for `%s'\n", 1432 "Could not queue request for `%s'\n",
1433 GNUNET_h2s (key)); 1433 (NULL != key) ? GNUNET_h2s (key): "NULL");
1434 return NULL; 1434 return NULL;
1435 } 1435 }
1436#if INSANE_STATISTICS 1436#if INSANE_STATISTICS