Skip to content

Commit

Permalink
removing client flags from api functions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed Aug 7, 2024
1 parent f585e8f commit 7f13f6e
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 155 deletions.
6 changes: 3 additions & 3 deletions source/client/udaClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ int check_file_cache(const REQUEST_DATA* request_data, DATA_BLOCK** p_data_block

if (data != nullptr) {
// Success
int data_block_idx = acc_getIdamNewDataHandle(client_flags);
int data_block_idx = acc_getIdamNewDataHandle();

if (data_block_idx < 0) { // Error
return -data_block_idx;
Expand Down Expand Up @@ -163,7 +163,7 @@ int check_mem_cache(uda::cache::UdaCache* cache, REQUEST_DATA* request_data, DAT

if (data != nullptr) {
// Success
int data_block_idx = acc_getIdamNewDataHandle(client_flags);
int data_block_idx = acc_getIdamNewDataHandle();

if (data_block_idx < 0) { // Error
return -data_block_idx;
Expand Down Expand Up @@ -1008,7 +1008,7 @@ int idamClient(REQUEST_BLOCK* request_block, int* indices)
for (int i = 0; i < data_block_list0.count; ++i) {
DATA_BLOCK* data_block0 = &data_block_list0.data[i];

int data_block_idx = acc_getIdamNewDataHandle(client_flags);
int data_block_idx = acc_getIdamNewDataHandle();
DATA_BLOCK* data_block = getIdamDataBlock(data_block_idx); // data blocks may have been realloc'ed
copyDataBlock(data_block, data_block0);

Expand Down
Loading

0 comments on commit 7f13f6e

Please sign in to comment.