1
0
Fork 0
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:
Alex Kotov 2021-08-17 13:38:41 +05:00
parent 9a52af9db2
commit 128cd8bbf8
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

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