Fix problem with password protected libraries

This commit is contained in:
Ron Pedde 2007-09-13 04:52:18 +00:00
parent 5864fd8a15
commit 854a99470c
1 changed files with 2 additions and 2 deletions

View File

@ -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();