diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-25 20:35:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-25 20:35:23 +0000 |
commit | dd61bcd68f58de56d7e0d5e8773017af1cebd966 (patch) | |
tree | edad9fb97ec610c6f222d0b6cd89011a0c18fbfe /src/vpn | |
parent | e4c99e0d5d4646e075cf343d7b890fe933045535 (diff) | |
download | gnunet-dd61bcd68f58de56d7e0d5e8773017af1cebd966.tar.gz gnunet-dd61bcd68f58de56d7e0d5e8773017af1cebd966.zip |
-fix call to stats destroy
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 2 | ||||
-rw-r--r-- | src/vpn/test_gnunet_vpn.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 7f7dcbf1d..796a4a6e1 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c | |||
@@ -2888,7 +2888,7 @@ cleanup (void *cls GNUNET_UNUSED, | |||
2888 | } | 2888 | } |
2889 | if (stats != NULL) | 2889 | if (stats != NULL) |
2890 | { | 2890 | { |
2891 | GNUNET_STATISTICS_destroy (stats, GNUNET_YES); | 2891 | GNUNET_STATISTICS_destroy (stats, GNUNET_NO); |
2892 | stats = NULL; | 2892 | stats = NULL; |
2893 | } | 2893 | } |
2894 | for (i=0;i<5;i++) | 2894 | for (i=0;i<5;i++) |
diff --git a/src/vpn/test_gnunet_vpn.c b/src/vpn/test_gnunet_vpn.c index c7ff832e7..22d1b8d94 100644 --- a/src/vpn/test_gnunet_vpn.c +++ b/src/vpn/test_gnunet_vpn.c | |||
@@ -461,7 +461,9 @@ main (int argc, char *const *argv) | |||
461 | NULL); | 461 | NULL); |
462 | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx, | 462 | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx, |
463 | "test_gnunet_vpn", "nohelp", options, &run, NULL); | 463 | "test_gnunet_vpn", "nohelp", options, &run, NULL); |
464 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Stopping Peer\n"); | ||
464 | stop_peer (&p1); | 465 | stop_peer (&p1); |
466 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "DONE\n"); | ||
465 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-vpn"); | 467 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-vpn"); |
466 | return global_ret; | 468 | return global_ret; |
467 | } | 469 | } |