Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38de286
)
A small optimization to the new code in msg2sndr_flush().
author
Wayne Davison
<wayned@samba.org>
Wed, 3 May 2006 06:32:59 +0000
(06:32 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 3 May 2006 06:32:59 +0000
(06:32 +0000)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
e235d3e
..
bf464cf
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-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;