Mercurial > hg > dmlib
diff src/dmlib.c @ 1273:132706e3b94b
Improve error handling and reporting slightly.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Oct 2016 09:06:01 +0300 |
parents | f29fa5b6b748 |
children | 4f82e7cda289 |
line wrap: on
line diff
--- a/src/dmlib.c Thu May 19 12:08:16 2016 +0300 +++ b/src/dmlib.c Mon Oct 03 09:06:01 2016 +0300 @@ -187,8 +187,10 @@ case DMERR_DATA_ERROR: return "Data decoding/encoding/parsing error"; + case DMERR_VERSION: return "Unsupported file format version"; + case DMERR_NOTPACK: return "File is not a PACK"; - case DMERR_VERSION: return "Unsupported PACK version"; + case DMERR_PACK_VERSION: return "Unsupported PACK version"; case DMERR_INVALID: return "Invalid data, corrupted file"; case DMERR_COMPRESSION: return "Error in compression";