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/fs/test_fs_test_lib.c | |
parent | 095494cb904c7e63d3537d06d29f59bb722c0a0e (diff) | |
download | gnunet-0a67f09f0ecd7d01c304bf22e56a63d479ba4e42.tar.gz gnunet-0a67f09f0ecd7d01c304bf22e56a63d479ba4e42.zip |
- mark operation done in case of failure
Diffstat (limited to 'src/fs/test_fs_test_lib.c')
-rw-r--r-- | src/fs/test_fs_test_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/test_fs_test_lib.c b/src/fs/test_fs_test_lib.c index 011ee1a6a..70e5977a6 100644 --- a/src/fs/test_fs_test_lib.c +++ b/src/fs/test_fs_test_lib.c | |||
@@ -86,6 +86,7 @@ do_publish (void *cls, | |||
86 | struct GNUNET_TESTBED_Operation *op, | 86 | struct GNUNET_TESTBED_Operation *op, |
87 | const char *emsg) | 87 | const char *emsg) |
88 | { | 88 | { |
89 | GNUNET_TESTBED_operation_done (op); | ||
89 | if (NULL != emsg) | 90 | if (NULL != emsg) |
90 | { | 91 | { |
91 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to connect peers: %s\n", emsg); | 92 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to connect peers: %s\n", emsg); |
@@ -94,7 +95,6 @@ do_publish (void *cls, | |||
94 | GNUNET_SCHEDULER_shutdown (); | 95 | GNUNET_SCHEDULER_shutdown (); |
95 | return; | 96 | return; |
96 | } | 97 | } |
97 | GNUNET_TESTBED_operation_done (op); | ||
98 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Publishing %llu bytes\n", | 98 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Publishing %llu bytes\n", |
99 | (unsigned long long) FILESIZE); | 99 | (unsigned long long) FILESIZE); |
100 | GNUNET_FS_TEST_publish (the_peers[0], TIMEOUT, 1, GNUNET_NO, FILESIZE, SEED, | 100 | GNUNET_FS_TEST_publish (the_peers[0], TIMEOUT, 1, GNUNET_NO, FILESIZE, SEED, |