diff options
Diffstat (limited to 'src/gnunet_chat_lobby_intern.c')
-rw-r--r-- | src/gnunet_chat_lobby_intern.c | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/src/gnunet_chat_lobby_intern.c b/src/gnunet_chat_lobby_intern.c index 0c5a647..135dfe5 100644 --- a/src/gnunet_chat_lobby_intern.c +++ b/src/gnunet_chat_lobby_intern.c | |||
@@ -25,27 +25,6 @@ | |||
25 | #include "gnunet_chat_context.h" | 25 | #include "gnunet_chat_context.h" |
26 | 26 | ||
27 | void | 27 | void |
28 | cont_lobby_identity_delete (void *cls, | ||
29 | const char *emsg) | ||
30 | { | ||
31 | struct GNUNET_CHAT_Lobby *lobby = cls; | ||
32 | |||
33 | GNUNET_assert(lobby); | ||
34 | |||
35 | lobby->op_delete = NULL; | ||
36 | |||
37 | if (!emsg) | ||
38 | return; | ||
39 | |||
40 | handle_send_internal_message( | ||
41 | lobby->handle, | ||
42 | lobby->context, | ||
43 | GNUNET_CHAT_FLAG_WARNING, | ||
44 | emsg | ||
45 | ); | ||
46 | } | ||
47 | |||
48 | void | ||
49 | cont_lobby_write_records (void *cls, | 28 | cont_lobby_write_records (void *cls, |
50 | GNUNET_UNUSED int32_t success, | 29 | GNUNET_UNUSED int32_t success, |
51 | const char *emsg) | 30 | const char *emsg) |
@@ -63,12 +42,7 @@ cont_lobby_write_records (void *cls, | |||
63 | char *name; | 42 | char *name; |
64 | util_lobby_name(key, &name); | 43 | util_lobby_name(key, &name); |
65 | 44 | ||
66 | lobby->op_delete = GNUNET_IDENTITY_delete( | 45 | handle_delete_account(lobby->handle, name); |
67 | lobby->handle->identity, | ||
68 | name, | ||
69 | cont_lobby_identity_delete, | ||
70 | lobby | ||
71 | ); | ||
72 | 46 | ||
73 | GNUNET_free(name); | 47 | GNUNET_free(name); |
74 | 48 | ||
@@ -104,7 +78,7 @@ cont_lobby_identity_create (void *cls, | |||
104 | 78 | ||
105 | GNUNET_assert(lobby); | 79 | GNUNET_assert(lobby); |
106 | 80 | ||
107 | lobby->op_create = NULL; | 81 | lobby->op = NULL; |
108 | 82 | ||
109 | if (emsg) | 83 | if (emsg) |
110 | { | 84 | { |