aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-21 20:06:38 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-21 20:06:38 +0100
commit782c8983d6812066820573092ffa29250714cc63 (patch)
tree7b3a6c1b960e0ddd8ab9c382674f03080ee33890
parenta1faf5df612a960f2949db30f64ff8c4e5e50deb (diff)
Fix exchange double-connect
-rw-r--r--src/lib/testing_api_cmd_serialize_keys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/testing_api_cmd_serialize_keys.c b/src/lib/testing_api_cmd_serialize_keys.c
index 585c5cad8..866c95852 100644
--- a/src/lib/testing_api_cmd_serialize_keys.c
+++ b/src/lib/testing_api_cmd_serialize_keys.c
@@ -174,11 +174,13 @@ connect_with_state_run (void *cls,
const json_t *serialized_keys;
const char *exchange_url;
-
/* This command usually gets rescheduled after serialized
* reconnection. */
if (GNUNET_YES == cwss->consumed)
+ {
TALER_TESTING_interpreter_next (is);
+ return;
+ }
cwss->is = is;
state_cmd = TALER_TESTING_interpreter_lookup_command