From 7a0ab5f8f25b1c7f0c7313d7feda9c41c8058702 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 16 Jun 2019 01:25:12 +0200 Subject: syslog_relay: Fix timeout issue introduced with recent libusbmuxd commit ca245709 --- include/libimobiledevice/syslog_relay.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/libimobiledevice/syslog_relay.h b/include/libimobiledevice/syslog_relay.h index 0080b54..ea7b649 100644 --- a/include/libimobiledevice/syslog_relay.h +++ b/include/libimobiledevice/syslog_relay.h @@ -34,11 +34,13 @@ extern "C" { /** Error Codes */ typedef enum { - SYSLOG_RELAY_E_SUCCESS = 0, - SYSLOG_RELAY_E_INVALID_ARG = -1, - SYSLOG_RELAY_E_MUX_ERROR = -2, - SYSLOG_RELAY_E_SSL_ERROR = -3, - SYSLOG_RELAY_E_UNKNOWN_ERROR = -256 + SYSLOG_RELAY_E_SUCCESS = 0, + SYSLOG_RELAY_E_INVALID_ARG = -1, + SYSLOG_RELAY_E_MUX_ERROR = -2, + SYSLOG_RELAY_E_SSL_ERROR = -3, + SYSLOG_RELAY_E_NOT_ENOUGH_DATA = -4, + SYSLOG_RELAY_E_TIMEOUT = -5, + SYSLOG_RELAY_E_UNKNOWN_ERROR = -256 } syslog_relay_error_t; typedef struct syslog_relay_client_private syslog_relay_client_private; -- cgit v1.1-32-gdbae