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 135b4a3e87493479e305e62bb5c0956d30b48904..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;
}
}