diff --git a/telldus-core/client/telldus-core.cpp b/telldus-core/client/telldus-core.cpp index 8767ed6e..7e689f3e 100644 --- a/telldus-core/client/telldus-core.cpp +++ b/telldus-core/client/telldus-core.cpp @@ -1001,7 +1001,7 @@ int WINAPI tdMethods(int id, int methodsSupported){ * @since Version 2.0.0 **/ char * WINAPI tdGetErrorString(int intErrorNo) { - const int numResponses = 11; + const int numResponses = 12; const char *responses[numResponses] = { "Success", "TellStick not found", @@ -1013,7 +1013,8 @@ char * WINAPI tdGetErrorString(int intErrorNo) { "Received an unknown response", "Syntax error", "Broken pipe", - "An error occurred while communicating with the Telldus Service" + "An error occurred while communicating with the Telldus Service", + "Syntax error in the configuration file" }; std::string strReturn; intErrorNo = abs(intErrorNo); //We don't use negative values here. diff --git a/telldus-core/client/telldus-core.h b/telldus-core/client/telldus-core.h index 3067ab7c..275373da 100644 --- a/telldus-core/client/telldus-core.h +++ b/telldus-core/client/telldus-core.h @@ -125,6 +125,7 @@ extern "C" { #define TELLSTICK_ERROR_SYNTAX -8 #define TELLSTICK_ERROR_BROKEN_PIPE -9 #define TELLSTICK_ERROR_COMMUNICATING_SERVICE -10 +#define TELLSTICK_ERROR_CONFIG_SYNTAX -11 #define TELLSTICK_ERROR_UNKNOWN -99 //Device typedef