diff options
Diffstat (limited to 'src/gnunet_chat_handle_intern.c')
-rw-r--r-- | src/gnunet_chat_handle_intern.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/gnunet_chat_handle_intern.c b/src/gnunet_chat_handle_intern.c index 46243f8..296d63b 100644 --- a/src/gnunet_chat_handle_intern.c +++ b/src/gnunet_chat_handle_intern.c | |||
@@ -311,7 +311,25 @@ cont_revoke_ticket_with_status (void *cls, | |||
311 | 311 | ||
312 | tickets->op = NULL; | 312 | tickets->op = NULL; |
313 | 313 | ||
314 | GNUNET_RECLAIM_ticket_iteration_next(tickets->iter); | 314 | struct GNUNET_CHAT_Handle *handle = tickets->handle; |
315 | |||
316 | if (GNUNET_SYSERR == success) | ||
317 | { | ||
318 | handle_send_internal_message( | ||
319 | handle, | ||
320 | NULL, | ||
321 | GNUNET_CHAT_KIND_WARNING, | ||
322 | emsg | ||
323 | ); | ||
324 | |||
325 | if (tickets->iter) | ||
326 | GNUNET_RECLAIM_ticket_iteration_stop(tickets->iter); | ||
327 | |||
328 | return; | ||
329 | } | ||
330 | |||
331 | if (tickets->iter) | ||
332 | GNUNET_RECLAIM_ticket_iteration_next(tickets->iter); | ||
315 | } | 333 | } |
316 | 334 | ||
317 | void | 335 | void |