Modified for new resp and req bufferes in conn.
FossilOrigin-Name: 8577ec61797f8179f4710838e86f93f81b233cad33f90d5fa3715fd2cc489ad9
This commit is contained in:
parent
8efdef045d
commit
b9d772ee6a
@ -24,11 +24,12 @@
|
||||
|
||||
void cwsend_image_data_response(struct conn * conn,int seqnum, int rc)
|
||||
{
|
||||
cw_dbg(DBG_CW_MSG,"Sending imag data response to %s, seq = %d",sock_addr2str(&conn->addr),seqnum);
|
||||
cw_dbg(DBG_CW_MSG,"Sending image data response to %s, seq = %d",sock_addr2str(&conn->addr),seqnum);
|
||||
|
||||
struct cwmsg * cwmsg = &conn->swm;
|
||||
cwmsg_init(cwmsg,conn->buffer,CWMSG_IMAGE_DATA_RESPONSE,seqnum,NULL);
|
||||
struct cwmsg * cwmsg = &conn->resp_msg;
|
||||
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_IMAGE_DATA_RESPONSE,seqnum,NULL);
|
||||
|
||||
cwmsg_addelem_result_code(cwmsg,rc);
|
||||
conn_send_response(conn,cwmsg,seqnum);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user