From 3e146313a9233f7562b16ca024dbb630812efb97 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Mon, 23 May 2022 20:47:35 +0100 Subject: [PATCH] Get compiling against libdeltachat 1.83 --- delta-connection.c | 3 +-- delta-connection.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/delta-connection.c b/delta-connection.c index 267b315..8f21f66 100644 --- a/delta-connection.c +++ b/delta-connection.c @@ -183,8 +183,7 @@ delta_event_handler(void *context) dc_str_unref(warn); break; } - case DC_EVENT_ERROR: - case DC_EVENT_ERROR_NETWORK: { + case DC_EVENT_ERROR: { int errcode = dc_event_get_data1_int(event); char *err = dc_event_get_data2_str(event); purple_debug_info(PLUGIN_ID, "ERROR from Delta: %d: %s\n", errcode, err); diff --git a/delta-connection.h b/delta-connection.h index 92ad20e..4fb661b 100644 --- a/delta-connection.h +++ b/delta-connection.h @@ -2,7 +2,7 @@ #define DELTA_CONNECTION_H #include -#include +#include #include struct _PurpleConnection;