From 3ad2165b03f74c8dcc6a2f5a25602c9414401e06 Mon Sep 17 00:00:00 2001 From: sdixon Date: Wed, 7 Aug 2024 13:42:34 +0100 Subject: [PATCH] removing client flags from api functions in uda plugin --- source/plugins/uda/uda_plugin.cpp | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/source/plugins/uda/uda_plugin.cpp b/source/plugins/uda/uda_plugin.cpp index 6d47e667..18f43cee 100755 --- a/source/plugins/uda/uda_plugin.cpp +++ b/source/plugins/uda/uda_plugin.cpp @@ -309,20 +309,19 @@ Notes: there are three pathways depending on the request pattern // Set Properties CLIENT_BLOCK* client_block = idam_plugin_interface->client_block; - auto client_flags = udaClientFlags(); - if (client_block->get_nodimdata) setIdamProperty("get_nodimdata", client_flags); - if (client_block->get_timedble) setIdamProperty("get_timedble", client_flags); - if (client_block->get_dimdble) setIdamProperty("get_dimdble", client_flags); - if (client_block->get_datadble) setIdamProperty("get_datadble", client_flags); + if (client_block->get_nodimdata) setIdamProperty("get_nodimdata"); + if (client_block->get_timedble) setIdamProperty("get_timedble"); + if (client_block->get_dimdble) setIdamProperty("get_dimdble"); + if (client_block->get_datadble) setIdamProperty("get_datadble"); - if (client_block->get_bad) setIdamProperty("get_bad", client_flags); - if (client_block->get_meta) setIdamProperty("get_meta", client_flags); - if (client_block->get_asis) setIdamProperty("get_asis", client_flags); - if (client_block->get_uncal) setIdamProperty("get_uncal", client_flags); - if (client_block->get_notoff) setIdamProperty("get_notoff", client_flags); - if (client_block->get_scalar) setIdamProperty("get_scalar", client_flags); - if (client_block->get_bytes) setIdamProperty("get_bytes", client_flags); + if (client_block->get_bad) setIdamProperty("get_bad"); + if (client_block->get_meta) setIdamProperty("get_meta"); + if (client_block->get_asis) setIdamProperty("get_asis"); + if (client_block->get_uncal) setIdamProperty("get_uncal"); + if (client_block->get_notoff) setIdamProperty("get_notoff"); + if (client_block->get_scalar) setIdamProperty("get_scalar"); + if (client_block->get_bytes) setIdamProperty("get_bytes"); // Timeout ... @@ -330,8 +329,8 @@ Notes: there are three pathways depending on the request pattern // Client Flags ... - resetIdamClientFlag(client_flags, (unsigned int)CLIENTFLAG_FULLRESET); - setIdamClientFlag(client_flags, client_block->clientFlags); + resetIdamClientFlag((unsigned int)CLIENTFLAG_FULLRESET); + setIdamClientFlag(client_block->clientFlags); // Client application provenance @@ -575,7 +574,7 @@ Notes: there are three pathways depending on the request pattern } resetIdamPrivateFlag(PRIVATEFLAG_FULLRESET); - resetIdamClientFlag(client_flags, (unsigned int)CLIENTFLAG_FULLRESET); + resetIdamClientFlag((unsigned int)CLIENTFLAG_FULLRESET); //---------------------------------------------------------------------- // Test for Errors: Close Socket and Free heap