mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-24 20:40:35 -04:00
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);
|
free(pwsc->err_msg);
|
||||||
|
|
||||||
pwsc->err_code = ws_error;
|
pwsc->err_code = ws_error;
|
||||||
ws_should_close(pwsc,TRUE); /* close the session on error */
|
|
||||||
|
|
||||||
if(E_WS_SUCCESS == ws_error)
|
if(E_WS_SUCCESS == ws_error)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
ws_should_close(pwsc,TRUE); /* close the session on error */
|
||||||
|
|
||||||
if(E_WS_NATIVE == ws_error) {
|
if(E_WS_NATIVE == ws_error) {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
pwsc->err_native = GetLastError();
|
pwsc->err_native = GetLastError();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user