projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6efad60
)
- some func
author
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 21 Feb 2012 11:13:11 +0000
(11:13 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 21 Feb 2012 11:13:11 +0000
(11:13 +0000)
src/namestore/test_namestore_api.c
patch
|
blob
|
history
diff --git
a/src/namestore/test_namestore_api.c
b/src/namestore/test_namestore_api.c
index c15a4e7d1827795342cfbf1e335c86a7e943ada2..16074c7cf55d3501a9ff81513614ebfcee0ff57c 100644
(file)
--- a/
src/namestore/test_namestore_api.c
+++ b/
src/namestore/test_namestore_api.c
@@
-27,13
+27,17
@@
#define VERBOSE GNUNET_EXTRA_LOGGING
+static struct GNUNET_NAMESTORE_Handle * nsh;
+
static int res;
static void
run (void *cls, char *const *args, const char *cfgfile,
const struct GNUNET_CONFIGURATION_Handle *cfg)
{
-
+ nsh = GNUNET_NAMESTORE_connect (cfg);
+ GNUNET_break (NULL != nsh);
+ GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES);
res = 0;
}