Add new magic number.

This commit is contained in:
2020-03-01 19:58:09 +00:00
parent d892f90a59
commit 629401939d
5 changed files with 12 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ int close(void* context)
aaruformatContext* ctx = context;
// Not a libaaruformat context
if(ctx->magic != DIC_MAGIC)
if(ctx->magic != AARU_MAGIC)
{
errno = EINVAL;
return -1;