mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
bugfix: issue #46
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user