[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16838 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16838 - gnunet/src/datastore |
Date: |
Wed, 14 Sep 2011 14:42:28 +0200 |
Author: grothoff
Date: 2011-09-14 14:42:28 +0200 (Wed, 14 Sep 2011)
New Revision: 16838
Modified:
gnunet/src/datastore/test_datastore_api.c
Log:
better reporting
Modified: gnunet/src/datastore/test_datastore_api.c
===================================================================
--- gnunet/src/datastore/test_datastore_api.c 2011-09-14 12:40:08 UTC (rev
16837)
+++ gnunet/src/datastore/test_datastore_api.c 2011-09-14 12:42:28 UTC (rev
16838)
@@ -182,6 +182,16 @@
int i;
i = crc->i;
+ if (NULL == key)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Value check failed (got NULL key) in %d/%d\n",
+ crc->phase, crc->i);
+ crc->phase = RP_ERROR;
+ GNUNET_SCHEDULER_add_continuation (&run_continuation, crc,
+ GNUNET_SCHEDULER_REASON_PREREQ_DONE);
+ return;
+ }
#if 0
fprintf (stderr, "Check value got `%s' of size %u, type %d, expire %llu\n",
GNUNET_h2s (key), (unsigned int) size, type,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16838 - gnunet/src/datastore,
gnunet <=