Searched refs:bytesToSend (Results 1 – 1 of 1) sorted by relevance
1143 int bytesToSend=0; in rfbSendTextChatMessage() local1153 bytesToSend=0; in rfbSendTextChatMessage()1156 bytesToSend=length; in rfbSendTextChatMessage()1157 if (bytesToSend>rfbTextMaxSize) in rfbSendTextChatMessage()1158 bytesToSend=rfbTextMaxSize; in rfbSendTextChatMessage()1161 if (cl->ublen + sz_rfbTextChatMsg + bytesToSend > UPDATE_BUF_SIZE) { in rfbSendTextChatMessage()1168 if (bytesToSend>0) { in rfbSendTextChatMessage()1169 memcpy(&cl->updateBuf[cl->ublen], buffer, bytesToSend); in rfbSendTextChatMessage()1170 cl->ublen += bytesToSend; in rfbSendTextChatMessage()1172 …atRecordMessageSent(cl, rfbTextChat, sz_rfbTextChatMsg+bytesToSend, sz_rfbTextChatMsg+bytesToSend); in rfbSendTextChatMessage()