*** empty log message ***
This commit is contained in:
parent
0682b592e4
commit
bf062cc5fe
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