pwmc: get the last error when appropriate.
commit41c44b3ae9806f2716251924a9c1b574aba9f0a0
authorBen Kibbey <bjk@luxsci.net>
Thu, 28 Jun 2012 00:12:25 +0000 (27 20:12 -0400)
committerBen Kibbey <bjk@luxsci.net>
Thu, 28 Jun 2012 00:12:25 +0000 (27 20:12 -0400)
treeb94e50900e3258a41f4e156ff99f16da7465fcfd
parent30119b01e28faa5c38037104781dd87c8920adc3
pwmc: get the last error when appropriate.

Useful for the XPATH command to show the libxml2 error. Only checks the
last error when the rc == GPG_ERR_BAD_DATA since an extra protocol
command is needed.
src/pwmc.c