From ee8d9636d145ee545b66cd2490cea11ebe6a569b Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 3 May 2006 06:32:59 +0000 Subject: A small optimization to the new code in msg2sndr_flush(). --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index e235d3e5..bf464cfc 100644 --- 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; -- cgit v1.2.3