Lines Matching refs:msg_len
706 uint32_t msg_len;
716 /* msg_len = legth of message */
717 memcpy(&msg_len, buf + sizeof(uint32_t), sizeof(uint32_t));
719 if (buflen != 2* sizeof(uint32_t) + msg_len) {
726 if (msg_len > 0) {
727 bufsize += strlen(SRV_MSG) + msg_len;
738 msg_len > 0 ? SRV_MSG : "",
739 (int)msg_len,
740 msg_len > 0 ? (char *)(buf + 2 * sizeof(uint32_t)) : "" );
763 uint32_t msg_len;
772 memcpy(&msg_len, buf + sizeof(uint32_t), sizeof(uint32_t));
774 if (buflen != 2* sizeof(uint32_t) + msg_len) {
781 if (msg_len > 0) {
782 bufsize += strlen(_("Server message: ")) + msg_len;
793 msg_len > 0 ? _("Server message: ") : "",
794 (int)msg_len,
795 msg_len > 0 ? (char *)(buf + 2 * sizeof(uint32_t)) : "" );