Fixed metadata sizing problems.
This commit is contained in:
parent
1b724afc83
commit
f463606152
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace Mist {
|
||||||
//Open the page for the metadata
|
//Open the page for the metadata
|
||||||
char pageName[NAME_BUFFER_SIZE];
|
char pageName[NAME_BUFFER_SIZE];
|
||||||
snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_INDEX, streamName.c_str());
|
snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_INDEX, streamName.c_str());
|
||||||
metaPages[0].init(pageName, DEFAULT_META_PAGE_SIZE, true);
|
metaPages[0].init(pageName, myMeta.getSendLen(), true);
|
||||||
//Make sure we don't delete it on accident
|
//Make sure we don't delete it on accident
|
||||||
metaPages[0].master = false;
|
metaPages[0].master = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue