Fix string allocation in test
This commit is contained in:
parent
74f1f696ef
commit
de9ff87b09
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ int main(void) {
|
|||
msgSpaceId testId;
|
||||
msgSpace * mSPAC;
|
||||
|
||||
testId=(msgSpaceId)"test";
|
||||
strcpy(testId,"test");
|
||||
printf("RequestedId: %s\n",testId);
|
||||
mSPAC=msgSpaceCreate(testId,0,0,NULL);
|
||||
msgSpaceDelete(testId);
|
||||
|
||||
|
|
Loading…
Reference in a new issue