unpack: Unify and enhance error messages
authorPetri Lehtinen <petri@digip.org>
Tue, 25 Jan 2011 18:37:53 +0000 (20:37 +0200)
committerPetri Lehtinen <petri@digip.org>
Tue, 25 Jan 2011 18:37:53 +0000 (20:37 +0200)
commitac96ac13d491f87f5aa8747e208b366c81354a0b
tree1a6686724e4162b2aeee3b2a1dad8ace1622c332
parent579c291882e1ccd09153665adf585d8e4830fc23
unpack: Unify and enhance error messages

Give the type name instead of its enum index in the error message when
an unexpected value is encountered while unpacking.
src/pack_unpack.c