diff options
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r-- | src/rps/rps_api.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index b52e9da51..16a0c6c54 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -221,13 +221,11 @@ reconnect (struct GNUNET_RPS_Handle *h) | |||
221 | 221 | ||
222 | if (NULL != h->mq) | 222 | if (NULL != h->mq) |
223 | GNUNET_MQ_destroy (h->mq); | 223 | GNUNET_MQ_destroy (h->mq); |
224 | conn = GNUNET_CLIENT_connect ("rps", h->cfg); | 224 | h->mq = GNUNET_CLIENT_connecT (h->cfg, |
225 | if (NULL == conn) | 225 | "rps", |
226 | return; | 226 | mq_handlers, |
227 | h->mq = GNUNET_MQ_queue_for_connection_client (conn, | 227 | &mq_error_handler, |
228 | mq_handlers, | 228 | h); |
229 | &mq_error_handler, | ||
230 | h); | ||
231 | } | 229 | } |
232 | 230 | ||
233 | 231 | ||