Signature EMILE_06_SIGNATURE is in fact the good one

This commit is contained in:
Laurent Vivier 2007-05-22 05:39:59 +00:00
parent b27c53bb00
commit f983467b0c
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ char* emile_second_get_configuration(int fd)
if (ret != sizeof(header))
return NULL;
if (!EMILE_COMPAT(EMILE_07_SIGNATURE, read_long(&header.signature)))
if (!EMILE_COMPAT(EMILE_06_SIGNATURE, read_long(&header.signature)))
return NULL;
size = read_short(&header.conf_size);

View File

@ -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_07_SIGNATURE, read_long(&header.signature)))
if (!EMILE_COMPAT(EMILE_06_SIGNATURE, read_long(&header.signature)))
return EEMILE_INVALID_SECOND;
size = read_short(&header.conf_size);