diff options
author | Wayne Davison <wayned@samba.org> | 2006-05-03 06:32:59 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-05-03 06:32:59 +0000 |
commit | ee8d9636d145ee545b66cd2490cea11ebe6a569b (patch) | |
tree | 25ca707f63aa4ee9d9f66c7a0f44053e11d93ef3 /io.c | |
parent | 38de2866e5892ffc77a96636cd706239cbffbf4b (diff) | |
download | rsync-ee8d9636d145ee545b66cd2490cea11ebe6a569b.tar.gz rsync-ee8d9636d145ee545b66cd2490cea11ebe6a569b.tar.bz2 rsync-ee8d9636d145ee545b66cd2490cea11ebe6a569b.zip |
A small optimization to the new code in msg2sndr_flush().
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |