Microoptimisation of code from r236560, also coming from Nginx Inc.
Submitted by: ru
This commit is contained in:
parent
835d890042
commit
8955d2720f
@ -2184,12 +2184,10 @@ retry_space:
|
||||
/* Append to mbuf chain. */
|
||||
if (mtail != NULL) {
|
||||
mtail->m_next = m0;
|
||||
} else {
|
||||
if (m != NULL)
|
||||
m_cat(m, m0);
|
||||
} else if (m != NULL)
|
||||
m_last(m)->m_next = m0;
|
||||
else
|
||||
m = m0;
|
||||
}
|
||||
mtail = m0;
|
||||
|
||||
/* Keep track of bits processed. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user