*** empty log message ***
This commit is contained in:
parent
d4e9c5ae3d
commit
16a568c22e
1 changed files with 10 additions and 0 deletions
10
src/ids.c
10
src/ids.c
|
@ -117,6 +117,16 @@ int msgQueueIdIntern(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int msgQueueElemIdIntern(
|
||||||
|
msgQueueElemId dest,
|
||||||
|
msgQueueId src
|
||||||
|
int counter){
|
||||||
|
if (strlen(src)>MSGSPACE_ID_LEN){
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
sprintf(dest,"%s-%d",(char *)src,counter);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue