Microoptimisation of code from r236560, also coming from Nginx Inc.

Submitted by:	ru
This commit is contained in:
Gleb Smirnoff 2012-06-04 14:18:13 +00:00
parent 835d890042
commit 8955d2720f

View File

@ -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. */