Skip to content

Commit

Permalink
Add debug prints
Browse files Browse the repository at this point in the history
debug prints

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
  • Loading branch information
ElijahSwiftIBM committed Feb 29, 2024
1 parent 9d44687 commit d51ec9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyracf/common/irrsmo00.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ static PyObject *call_irrsmo00(PyObject *self, PyObject *args, PyObject *kwargs)
unsigned int num_parms = 17;
unsigned int fn = 1;

printf("Result Buffer Size: %d",result_buffer_size);

strncpy(
running_userid_struct.running_userid,
running_userid,
Expand Down
2 changes: 2 additions & 0 deletions pyracf/common/irrsmo00.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def call_racf(
and (result["returnCodes"][1] == 4000)
and (result["returnCodes"][2] < 100000000)
):
print(result)
result = call_irrsmo00(
request_xml=request_xml,
request_xml_len=len(request_xml),
Expand All @@ -80,6 +81,7 @@ def call_racf(
running_userid=running_userid,
running_userid_len=len(running_userid),
)
print(result)
# Preserve raw result XML just in case we need to create a dump.
# If the decoded result XML cannot be parsed with the XML parser,
# a dump may need to be taken to aid in problem determination.
Expand Down

0 comments on commit d51ec9e

Please sign in to comment.