From a30d89f6ab0661c080080f0d50973ea2941e8f5c Mon Sep 17 00:00:00 2001 From: sdixon Date: Wed, 7 Aug 2024 16:57:34 +0100 Subject: [PATCH] tidying up legacy headers --- source/client/udaGetAPI.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/client/udaGetAPI.cpp b/source/client/udaGetAPI.cpp index f55ad14e..fc43ed4e 100755 --- a/source/client/udaGetAPI.cpp +++ b/source/client/udaGetAPI.cpp @@ -176,7 +176,7 @@ int idamGetAPIWithHost(const char* data_object, const char* data_source, const c static bool reopen_logs = true; if (udaStartup(0, client_flags, &reopen_logs) != 0) { - unlockUdaThread(); + udaUnlockThread(); return PROBLEM_OPENING_LOGS; } @@ -217,7 +217,7 @@ int idamGetAPIWithHost(const char* data_object, const char* data_source, const c UDA_LOG(UDA_LOG_ERROR, "Error identifying the Data Source [%s]\n", data_source); addIdamError(UDA_CODE_ERROR_TYPE, __func__, 999, "Error identifying the Data Source"); } - unlockUdaThread(); + udaUnlockThread(); return -err; } @@ -246,7 +246,7 @@ int idamGetAPIWithHost(const char* data_object, const char* data_source, const c freeClientRequestBlock(&request_block); // Unlock the thread - unlockUdaThread(); + udaUnlockThread(); return handle; } @@ -287,7 +287,7 @@ int idamGetBatchAPIWithHost(const char** signals, const char** sources, int coun static bool reopen_logs = true; if (udaStartup(0, client_flags, &reopen_logs) != 0) { - unlockUdaThread(); + udaUnlockThread(); return PROBLEM_OPENING_LOGS; } @@ -328,7 +328,7 @@ int idamGetBatchAPIWithHost(const char** signals, const char** sources, int coun if (udaNumErrors() == 0) { addIdamError(UDA_CODE_ERROR_TYPE, __func__, 999, "Error identifying the Data Source"); } - unlockUdaThread(); + udaUnlockThread(); return -err; } @@ -353,6 +353,6 @@ int idamGetBatchAPIWithHost(const char** signals, const char** sources, int coun #endif // Unlock the thread - unlockUdaThread(); + udaUnlockThread(); return err; }