mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 05:14:15 -04:00
A small optimization to the new code in msg2sndr_flush().
This commit is contained in:
1 parent
38de2866e5
commit
ee8d9636d1
1 file changed
+1
-1
@@ -1136,7 +1136,7 @@ static void msg2sndr_flush(void)
|
||||
|
||||
while (msg2sndr.head && io_multiplexing_out) {
|
||||
struct msg_list_item *m = msg2sndr.head;
|
||||
int tag = (IVAL(m->buf, 0) >> 24) - MPLEX_BASE;
|
||||
int tag = *((uchar*)m->buf+3) - MPLEX_BASE;
|
||||
if (!(msg2sndr.head = m->next))
|
||||
msg2sndr.tail = NULL;
|
||||
defer_forwarding_messages = 1;
|
||||
|
||||
Reference in new issue
Block a user