[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 02/05: Fix segfault.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 02/05: Fix segfault. |
Date: |
Wed, 25 Jul 2018 13:08:27 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
commit d7789d0984d8e3e545efce72f07d492685269dd1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 25 12:03:26 2018 +0200
Fix segfault.
---
src/benchmark/taler-exchange-benchmark-new.c | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/src/benchmark/taler-exchange-benchmark-new.c
b/src/benchmark/taler-exchange-benchmark-new.c
index ac1240a..76c77f2 100644
--- a/src/benchmark/taler-exchange-benchmark-new.c
+++ b/src/benchmark/taler-exchange-benchmark-new.c
@@ -95,11 +95,6 @@ static struct GNUNET_TIME_Relative duration;
static unsigned int result;
/**
- * Bank process.
- */
-static struct GNUNET_OS_Process *bankd;
-
-/**
* How many refreshes got executed.
*/
static unsigned int howmany_refreshes;
@@ -314,19 +309,6 @@ run (void *cls,
}
/**
- * Send SIGTERM and wait for process termination.
- *
- * @param process process to terminate.
- */
-void
-terminate_process (struct GNUNET_OS_Process *process)
-{
- GNUNET_OS_process_kill (process, SIGTERM);
- GNUNET_OS_process_wait (process);
- GNUNET_OS_process_destroy (process);
-}
-
-/**
* The main function of the serve tool
*
* @param argc number of arguments from the command line
@@ -433,7 +415,6 @@ main (int argc,
cfg_filename);
duration = GNUNET_TIME_absolute_get_duration (start_time);
- terminate_process (bankd);
TALER_LOG_INFO ("Executed W=%u, D=%u, R=%u, operations in %s\n",
howmany_coins,
--
To stop receiving notification emails like this one, please contact
address@hidden