Commit 3c05958272abfcbc57adf9ad836e72433ebae2e4
Exists in
master
and in
5 other branches
Merge branch 'master' of http://softwarepublico.gov.br/gitlab/pw3270/principal
Showing
2 changed files
with
2 additions
and
5 deletions
Show diff stats
src/plugins/hllapi/calls.cc
src/plugins/hllapi/hllapi.c
... | ... | @@ -135,10 +135,7 @@ static int connect_ps(char *buffer, unsigned short *length, unsigned short *rc) |
135 | 135 | buffer = tempbuffer; |
136 | 136 | } |
137 | 137 | |
138 | - if(hllapi_init(buffer) == 0) | |
139 | - *rc = HLLAPI_STATUS_SUCCESS; | |
140 | - else | |
141 | - *rc = HLLAPI_STATUS_UNAVAILABLE; | |
138 | + *rc = hllapi_init(buffer); | |
142 | 139 | |
143 | 140 | if(tempbuffer) |
144 | 141 | free(tempbuffer); | ... | ... |