restreaming stop fix

This commit is contained in:
Dhanya Maliakal 2017-11-30 19:13:55 +01:00
parent fd64ba289e
commit 0e26734023

View File

@ -2489,6 +2489,12 @@ int slsReceiverTCPIPInterface::enable_gap_pixels() {
if (ret == OK && mySock->differentClients)
ret = FORCE_UPDATE;
// send answer
mySock->SendDataOnly(&ret,sizeof(ret));
if (ret == FAIL)
mySock->SendDataOnly(mess,sizeof(mess));
mySock->SendDataOnly(&retval,sizeof(retval));
// return ok/fail
return ret;
}