Fix string allocation in test

This commit is contained in:
Glenn Y. Rolland 2019-09-17 14:04:41 +02:00
parent 74f1f696ef
commit de9ff87b09

View file

@ -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);