bugfix: issue #46

This commit is contained in:
云风
2013-10-14 11:26:15 +08:00
parent 554a8b59f4
commit 2d02f10396

View File

@@ -104,8 +104,8 @@ databuffer_push(struct databuffer *db, struct messagepool *mp, void *data, int s
temp[i].next = &temp[i+1];
}
temp[MESSAGEPOOL-1].next = NULL;
mp->pool = mpl;
mpl->next = mp->pool;
mp->pool = mpl;
m = &temp[0];
mp->freelist = &temp[1];
}