hsa: http_cli coverity fix
Type: fix Change-Id: I23c55e6be08cc02332da9375d2eb19b74b79427c Signed-off-by: Matus Fabian <matfabia@cisco.com>
This commit is contained in:
Matus Fabian
committed by
Florin Coras
parent
dac6888244
commit
61409d2df6
@ -196,7 +196,7 @@ start_send_data (hcs_session_t *hs, http_status_code_t status)
|
||||
|
||||
if (rv != vec_len (hs->tx_buf))
|
||||
{
|
||||
hs->tx_offset = rv;
|
||||
hs->tx_offset = (rv > 0) ? rv : 0;
|
||||
svm_fifo_add_want_deq_ntf (ts->tx_fifo, SVM_FIFO_WANT_DEQ_NOTIF);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user