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:
e4c99e0
)
-fix call to stats destroy
author
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2012 20:35:23 +0000
(20:35 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2012 20:35:23 +0000
(20:35 +0000)
src/dns/gnunet-service-dns.c
patch
|
blob
|
history
src/exit/gnunet-daemon-exit.c
patch
|
blob
|
history
src/vpn/gnunet-service-vpn.c
patch
|
blob
|
history
src/vpn/test_gnunet_vpn.c
patch
|
blob
|
history
diff --git
a/src/dns/gnunet-service-dns.c
b/src/dns/gnunet-service-dns.c
index 17f60749efc57c755c6209da5f0b837c8ed75412..63cee93bb0a166ad3dc943e790c48a1b1b296f0f 100644
(file)
--- a/
src/dns/gnunet-service-dns.c
+++ b/
src/dns/gnunet-service-dns.c
@@
-363,7
+363,7
@@
cleanup_task (void *cls GNUNET_UNUSED,
nc = NULL;
if (stats != NULL)
{
- GNUNET_STATISTICS_destroy (stats, GNUNET_
YES
);
+ GNUNET_STATISTICS_destroy (stats, GNUNET_
NO
);
stats = NULL;
}
if (NULL != dns_exit)
diff --git
a/src/exit/gnunet-daemon-exit.c
b/src/exit/gnunet-daemon-exit.c
index 86a24ff1cc92e9967fb35fa43b7177aae944827f..dca3f92886d86449733a5547b7461d499aa4dd5c 100644
(file)
--- a/
src/exit/gnunet-daemon-exit.c
+++ b/
src/exit/gnunet-daemon-exit.c
@@
-2761,7
+2761,7
@@
cleanup (void *cls GNUNET_UNUSED,
}
if (stats != NULL)
{
- GNUNET_STATISTICS_destroy (stats, GNUNET_
YES
);
+ GNUNET_STATISTICS_destroy (stats, GNUNET_
NO
);
stats = NULL;
}
for (i=0;i<8;i++)
diff --git
a/src/vpn/gnunet-service-vpn.c
b/src/vpn/gnunet-service-vpn.c
index 7f7dcbf1d1ac781f49510005fd0e9c29e62631b0..796a4a6e109e0eaa0ef701f5b91768a40a0542c4 100644
(file)
--- a/
src/vpn/gnunet-service-vpn.c
+++ b/
src/vpn/gnunet-service-vpn.c
@@
-2888,7
+2888,7
@@
cleanup (void *cls GNUNET_UNUSED,
}
if (stats != NULL)
{
- GNUNET_STATISTICS_destroy (stats, GNUNET_
YES
);
+ GNUNET_STATISTICS_destroy (stats, GNUNET_
NO
);
stats = NULL;
}
for (i=0;i<5;i++)
diff --git
a/src/vpn/test_gnunet_vpn.c
b/src/vpn/test_gnunet_vpn.c
index c7ff832e7d3a5a3f480f53d2fb692e35829c0e4e..22d1b8d9432b452eba3f897ab77172345e7bca12 100644
(file)
--- a/
src/vpn/test_gnunet_vpn.c
+++ b/
src/vpn/test_gnunet_vpn.c
@@
-461,7
+461,9
@@
main (int argc, char *const *argv)
NULL);
GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx,
"test_gnunet_vpn", "nohelp", options, &run, NULL);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Stopping Peer\n");
stop_peer (&p1);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "DONE\n");
GNUNET_DISK_directory_remove ("/tmp/gnunet-test-vpn");
return global_ret;
}