diff options
Diffstat (limited to 'src/gnunet_chat_context_intern.c')
-rw-r--r-- | src/gnunet_chat_context_intern.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gnunet_chat_context_intern.c b/src/gnunet_chat_context_intern.c index ed1cd27..c4a3d5b 100644 --- a/src/gnunet_chat_context_intern.c +++ b/src/gnunet_chat_context_intern.c | |||
@@ -62,3 +62,19 @@ it_destroy_context_invites (GNUNET_UNUSED void *cls, | |||
62 | invitation_destroy(invitation); | 62 | invitation_destroy(invitation); |
63 | return GNUNET_YES; | 63 | return GNUNET_YES; |
64 | } | 64 | } |
65 | |||
66 | void | ||
67 | cont_context_write_records (void *cls, | ||
68 | GNUNET_UNUSED int32_t success, | ||
69 | const char *emsg) | ||
70 | { | ||
71 | struct GNUNET_CHAT_Context *context = cls; | ||
72 | |||
73 | if (emsg) | ||
74 | handle_send_internal_message( | ||
75 | context->handle, | ||
76 | context, | ||
77 | GNUNET_CHAT_FLAG_WARNING, | ||
78 | emsg | ||
79 | ); | ||
80 | } | ||