Fix for null thread status on a blocked db update thread
This commit is contained in:
parent
b1ed033d9e
commit
7bace3ab5a
|
@ -1416,6 +1416,7 @@ void dispatch_update(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
DPRINTF(E_DBG,L_DAAP,"Preparing to send update response\n");
|
DPRINTF(E_DBG,L_DAAP,"Preparing to send update response\n");
|
||||||
|
config_set_status(pwsc,pqi->session_id,"Waiting for DB update");
|
||||||
|
|
||||||
if(ws_getvar(pwsc,"revision-number")) {
|
if(ws_getvar(pwsc,"revision-number")) {
|
||||||
clientver=atoi(ws_getvar(pwsc,"revision-number"));
|
clientver=atoi(ws_getvar(pwsc,"revision-number"));
|
||||||
|
|
Loading…
Reference in New Issue