diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-11 06:56:21 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-11 06:56:21 +0000 |
commit | 805325da1f048ca693319ca5263115fe35f1c398 (patch) | |
tree | 1799c9604cacbc9f1835906def8e3615cfd31727 /src | |
parent | 584b336bb53fbe434a2c8e29874ec657b89fcfce (diff) | |
download | gnunet-805325da1f048ca693319ca5263115fe35f1c398.tar.gz gnunet-805325da1f048ca693319ca5263115fe35f1c398.zip |
return NULL if rd_count is 0
Diffstat (limited to 'src')
-rw-r--r-- | src/namestore/namestore_api_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/namestore_api_common.c b/src/namestore/namestore_api_common.c index c55902b3d..dec6acafe 100644 --- a/src/namestore/namestore_api_common.c +++ b/src/namestore/namestore_api_common.c | |||
@@ -489,7 +489,7 @@ GNUNET_NAMESTORE_block_decrypt (const struct GNUNET_NAMESTORE_Block *block, | |||
489 | return GNUNET_SYSERR; | 489 | return GNUNET_SYSERR; |
490 | } | 490 | } |
491 | if (NULL != proc) | 491 | if (NULL != proc) |
492 | proc (proc_cls, rd_count, rd); | 492 | proc (proc_cls, rd_count, (0 != rd_count) ? rd : NULL); |
493 | } | 493 | } |
494 | } | 494 | } |
495 | return GNUNET_OK; | 495 | return GNUNET_OK; |