aboutsummaryrefslogtreecommitdiff
path: root/mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbuf.c')
-rw-r--r--mbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbuf.c b/mbuf.c
index 2b1ef63..9335f9e 100644
--- a/mbuf.c
+++ b/mbuf.c
@@ -148,7 +148,7 @@ void m_inc(struct mbuf *m, int size)
int datasize;
/* some compilers throw up on gotos. This one we can fake. */
- if (m->m_size > size) {
+ if (M_ROOM(m) > size) {
return;
}