Mercurial > trustbridge
changeset 14:58d51a91d448
Change Unknown state to UnknownValidity to avoid name clashes
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 19 Feb 2014 10:44:40 +0000 |
parents | e26f9cc93601 |
children | 95e1b6edf2fc |
files | ui/listutil.c ui/listutil.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/listutil.c Wed Feb 19 10:44:09 2014 +0000 +++ b/ui/listutil.c Wed Feb 19 10:44:40 2014 +0000 @@ -82,7 +82,7 @@ goto cleanup; } - retval = Unknown; + retval = UnknownValidity; cleanup: if (fd && fd != -1) { @@ -104,7 +104,7 @@ retval = readList(fileName, data, size); - if (retval != Unknown) { + if (retval != UnknownValidity) { printf ("Readlist failed\n"); return retval; }
--- a/ui/listutil.h Wed Feb 19 10:44:09 2014 +0000 +++ b/ui/listutil.h Wed Feb 19 10:44:40 2014 +0000 @@ -16,7 +16,7 @@ * @brief Status of the List Operations */ typedef enum { - Unknown = 0, // Not yet parsed + UnknownValidity = 0, // Not yet parsed UnknownError = 1, // The expected unexpected TooLarge = 2, // Failed because the file exeeds the limit InvalidFormat = 3, // File does not appear to be in list format