diff src/dmpack.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 848a88ce7a57
children 9aa51ac4e502
line wrap: on
line diff
--- a/src/dmpack.c	Thu May 19 12:08:16 2016 +0300
+++ b/src/dmpack.c	Mon Oct 03 09:06:01 2016 +0300
@@ -123,7 +123,7 @@
 
     if (hdr.version != DPACK_VERSION)
     {
-        ret = DMERR_VERSION;
+        ret = DMERR_PACK_VERSION;
         goto out;
     }