mirror of
https://github.com/tailix/libshmemq.git
synced 2025-07-31 22:01:00 -04:00
Display error in example
This commit is contained in:
parent
9a52af9db2
commit
128cd8bbf8
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ int main()
|
||||||
}
|
}
|
||||||
|
|
||||||
finalize:
|
finalize:
|
||||||
|
if (shmemq_error != SHMEMQ_ERROR_NONE) printf("Error: %u.\n", shmemq_error);
|
||||||
|
|
||||||
printf("Destroy queue.\n");
|
printf("Destroy queue.\n");
|
||||||
|
|
||||||
SHMEMQ_DELETE(shmemq, NULL);
|
SHMEMQ_DELETE(shmemq, NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue