benchmark: don't print result as exchange worker
This commit is contained in:
parent
9c194f79a5
commit
5dd3c2191a
@ -1048,8 +1048,14 @@ main (int argc,
|
|||||||
NULL,
|
NULL,
|
||||||
cfg_filename,
|
cfg_filename,
|
||||||
exchange_url);
|
exchange_url);
|
||||||
|
|
||||||
GNUNET_free_non_null (exchange_url);
|
GNUNET_free_non_null (exchange_url);
|
||||||
GNUNET_free_non_null (auditor_url);
|
GNUNET_free_non_null (auditor_url);
|
||||||
|
|
||||||
|
/* If we're the exchange worker, we're done now. No need to print results */
|
||||||
|
if (MODE_EXCHANGE == mode)
|
||||||
|
return (GNUNET_OK == result) ? 0 : result;
|
||||||
|
|
||||||
duration = GNUNET_TIME_absolute_get_duration (start_time);
|
duration = GNUNET_TIME_absolute_get_duration (start_time);
|
||||||
if (GNUNET_OK == result)
|
if (GNUNET_OK == result)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user