Fix problem with password protected libraries
This commit is contained in:
parent
5864fd8a15
commit
854a99470c
|
@ -2119,11 +2119,11 @@ int ws_set_err(WS_CONNINFO *pwsc, int ws_error) {
|
|||
free(pwsc->err_msg);
|
||||
|
||||
pwsc->err_code = ws_error;
|
||||
ws_should_close(pwsc,TRUE); /* close the session on error */
|
||||
|
||||
if(E_WS_SUCCESS == ws_error)
|
||||
return TRUE;
|
||||
|
||||
ws_should_close(pwsc,TRUE); /* close the session on error */
|
||||
|
||||
if(E_WS_NATIVE == ws_error) {
|
||||
#ifdef WIN32
|
||||
pwsc->err_native = GetLastError();
|
||||
|
|
Loading…
Reference in New Issue