mirror of
https://github.com/tailix/libshmemq.git
synced 2024-11-20 11:08:35 -05: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:
|
||||
if (shmemq_error != SHMEMQ_ERROR_NONE) printf("Error: %u.\n", shmemq_error);
|
||||
|
||||
printf("Destroy queue.\n");
|
||||
|
||||
SHMEMQ_DELETE(shmemq, NULL);
|
||||
|
|
Loading…
Reference in a new issue