diff options
Diffstat (limited to 'src/gnunet_chat_lib_intern.c')
-rw-r--r-- | src/gnunet_chat_lib_intern.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnunet_chat_lib_intern.c b/src/gnunet_chat_lib_intern.c index c17f24b..797294a 100644 --- a/src/gnunet_chat_lib_intern.c +++ b/src/gnunet_chat_lib_intern.c | |||
@@ -45,7 +45,7 @@ task_handle_destruction (void *cls) | |||
45 | struct GNUNET_CHAT_InternalAccounts *accounts = handle->accounts_head; | 45 | struct GNUNET_CHAT_InternalAccounts *accounts = handle->accounts_head; |
46 | while (accounts) | 46 | while (accounts) |
47 | { | 47 | { |
48 | if ((accounts->op) && (GNUNET_YES == accounts->wait_for_completion)) | 48 | if ((accounts->op) && (GNUNET_CHAT_ACCOUNT_NONE != accounts->method)) |
49 | break; | 49 | break; |
50 | 50 | ||
51 | accounts = accounts->next; | 51 | accounts = accounts->next; |
@@ -77,8 +77,8 @@ task_handle_disconnection (void *cls) | |||
77 | 77 | ||
78 | struct GNUNET_CHAT_Handle *handle = (struct GNUNET_CHAT_Handle*) cls; | 78 | struct GNUNET_CHAT_Handle *handle = (struct GNUNET_CHAT_Handle*) cls; |
79 | 79 | ||
80 | handle_disconnect(handle); | ||
81 | handle->disconnection = NULL; | 80 | handle->disconnection = NULL; |
81 | handle_disconnect(handle); | ||
82 | 82 | ||
83 | if (! handle->next) | 83 | if (! handle->next) |
84 | return; | 84 | return; |
@@ -936,7 +936,7 @@ cont_revoke_ticket (void *cls, | |||
936 | handle, | 936 | handle, |
937 | NULL, | 937 | NULL, |
938 | NULL, | 938 | NULL, |
939 | GNUNET_CHAT_FLAG_SHARED_ATTRIBUTES, | 939 | GNUNET_CHAT_FLAG_SHARE_ATTRIBUTES, |
940 | NULL | 940 | NULL |
941 | ); | 941 | ); |
942 | 942 | ||