diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-01-07 16:34:38 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-01-07 16:34:38 +0000 |
commit | 0a67f09f0ecd7d01c304bf22e56a63d479ba4e42 (patch) | |
tree | 63fdeee383938ae09633877935604a79adec7842 /src/topology | |
parent | 095494cb904c7e63d3537d06d29f59bb722c0a0e (diff) | |
download | gnunet-0a67f09f0ecd7d01c304bf22e56a63d479ba4e42.tar.gz gnunet-0a67f09f0ecd7d01c304bf22e56a63d479ba4e42.zip |
- mark operation done in case of failure
Diffstat (limited to 'src/topology')
-rw-r--r-- | src/topology/test_gnunet_daemon_topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/topology/test_gnunet_daemon_topology.c b/src/topology/test_gnunet_daemon_topology.c index ae35da381..99734ca8f 100644 --- a/src/topology/test_gnunet_daemon_topology.c +++ b/src/topology/test_gnunet_daemon_topology.c | |||
@@ -43,6 +43,7 @@ notify_connect_complete (void *cls, | |||
43 | struct GNUNET_TESTBED_Operation *op, | 43 | struct GNUNET_TESTBED_Operation *op, |
44 | const char *emsg) | 44 | const char *emsg) |
45 | { | 45 | { |
46 | GNUNET_TESTBED_operation_done (op); | ||
46 | if (NULL != emsg) | 47 | if (NULL != emsg) |
47 | { | 48 | { |
48 | FPRINTF (stderr, "Failed to connect two peers: %s\n", emsg); | 49 | FPRINTF (stderr, "Failed to connect two peers: %s\n", emsg); |
@@ -50,7 +51,6 @@ notify_connect_complete (void *cls, | |||
50 | ok = 1; | 51 | ok = 1; |
51 | return; | 52 | return; |
52 | } | 53 | } |
53 | GNUNET_TESTBED_operation_done (op); | ||
54 | connect_left--; | 54 | connect_left--; |
55 | if (0 == connect_left) | 55 | if (0 == connect_left) |
56 | { | 56 | { |