Skip to content

Commit

Permalink
Update irrsmo00.c
Browse files Browse the repository at this point in the history
Update irrsmo00.c
  • Loading branch information
ElijahSwiftIBM committed Mar 1, 2024
1 parent ee3814c commit 26cfd9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pyracf/common/irrsmo00.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ static PyObject *call_irrsmo00(PyObject *self, PyObject *args, PyObject *kwargs)
printf("Arg parse complete!\n");

char work_area[1024];
char req_handle[64];
running_userid_t running_userid_struct = {running_userid_length, {0}};
unsigned int alet = 0;
unsigned int acee = 0;
Expand All @@ -71,6 +72,12 @@ static PyObject *call_irrsmo00(PyObject *self, PyObject *args, PyObject *kwargs)
running_userid,
running_userid_struct.running_userid_length);

memcpy(
req_handle,
handle_buffer.buf,
64
);

IRRSMO64(
work_area,
alet,
Expand All @@ -84,7 +91,7 @@ static PyObject *call_irrsmo00(PyObject *self, PyObject *args, PyObject *kwargs)
irrsmo00_options,
request_xml_length,
request_xml,
handle_buffer.buf,
req_handle,
running_userid_struct,
acee,
&result_len,
Expand Down

0 comments on commit 26cfd9a

Please sign in to comment.