mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-26 15:29:12 +00:00
Set header signature to EMILE_07_SIGNATURE
This commit is contained in:
parent
01b51b602b
commit
b27c53bb00
@ -22,7 +22,7 @@ char* emile_second_get_configuration(int fd)
|
||||
if (ret != sizeof(header))
|
||||
return NULL;
|
||||
|
||||
if (!EMILE_COMPAT(EMILE_06_SIGNATURE, read_long(&header.signature)))
|
||||
if (!EMILE_COMPAT(EMILE_07_SIGNATURE, read_long(&header.signature)))
|
||||
return NULL;
|
||||
|
||||
size = read_short(&header.conf_size);
|
||||
|
@ -30,7 +30,7 @@ int emile_second_set_configuration(int fd, char *configuration)
|
||||
if (ret != sizeof(header))
|
||||
return EEMILE_CANNOT_READ_SECOND;
|
||||
|
||||
if (!EMILE_COMPAT(EMILE_06_SIGNATURE, read_long(&header.signature)))
|
||||
if (!EMILE_COMPAT(EMILE_07_SIGNATURE, read_long(&header.signature)))
|
||||
return EEMILE_INVALID_SECOND;
|
||||
|
||||
size = read_short(&header.conf_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user