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

Submitted by:	ru
This commit is contained in:
glebius 2012-06-04 14:18:13 +00:00
parent df2b290f0d
commit b0d113b96e

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
m = m0;
}
} else if (m != NULL)
m_last(m)->m_next = m0;
else
m = m0;
mtail = m0;
/* Keep track of bits processed. */