Skip to content

Commit

Permalink
fix macro logic
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Aug 28, 2023
1 parent 6bd31b9 commit 3987be3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/main/client/operate.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ static inline bool isExprOp(int op);
if (py_list) { \
Py_DECREF(py_list); \
} \
if (err.code == AEROSPIKE_OK && !py_result) { \
return NULL; \
} \
else { \
Py_DECREF(py_result); \
if (err.code == AEROSPIKE_OK) { \
if (!py_result) { \
return NULL; \
} \
else { \
Py_DECREF(py_result); \
} \
}

#define CONVERT_VAL_TO_AS_VAL() \
Expand Down

0 comments on commit 3987be3

Please sign in to comment.