Fix parse_doc() to return GPG_ERR_BAD_DATA upon failure.
commit3fb8309d471750673b414b47cd194dc22308f250
authorBen Kibbey <bjk@luxsci.net>
Sun, 28 Jul 2013 00:21:23 +0000 (27 20:21 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 28 Jul 2013 00:35:56 +0000 (27 20:35 -0400)
tree1f920a08bd519f3784c57439391eab670cb251ed
parentbae1c426539fd452aed8ef2a4b8a2cf5be074c05
Fix parse_doc() to return GPG_ERR_BAD_DATA upon failure.

This lets the client use "GETINFO last_error" to get the XML parser
error string.
src/commands.c
src/common.h
src/pwmd.c
src/xml.c
src/xml.h