projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix coverity 10365
[oweals/gnunet.git]
/
src
/
namestore
/
test_namestore_api_put.c
diff --git
a/src/namestore/test_namestore_api_put.c
b/src/namestore/test_namestore_api_put.c
index 58e85f35a85695e5de86d74985ab6172fe68b413..3cf1b465b3addb3e897ac2713e28516e7f9d2201 100644
(file)
--- a/
src/namestore/test_namestore_api_put.c
+++ b/
src/namestore/test_namestore_api_put.c
@@
-35,7
+35,7
@@
#define TEST_RECORD_DATA 'a'
#define TEST_RECORD_DATA 'a'
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10
0
)
static struct GNUNET_NAMESTORE_Handle * nsh;
static struct GNUNET_NAMESTORE_Handle * nsh;
@@
-61,7
+61,7
@@
static void
endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
if (nsh != NULL)
endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
if (nsh != NULL)
- GNUNET_NAMESTORE_disconnect (nsh
, GNUNET_YES
);
+ GNUNET_NAMESTORE_disconnect (nsh);
nsh = NULL;
if (privkey != NULL)
nsh = NULL;
if (privkey != NULL)
@@
-90,7
+90,7
@@
end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
}
if (nsh != NULL)
{
}
if (nsh != NULL)
{
- GNUNET_NAMESTORE_disconnect (nsh
, GNUNET_YES
);
+ GNUNET_NAMESTORE_disconnect (nsh);
nsh = NULL;
}
}
nsh = NULL;
}
}
@@
-133,7
+133,8
@@
create_record (unsigned int count)
static void
run (void *cls,
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
struct GNUNET_CRYPTO_RsaSignature *signature;
const char * s_name = "dummy.dummy.gnunet";
{
struct GNUNET_CRYPTO_RsaSignature *signature;
const char * s_name = "dummy.dummy.gnunet";