Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add better failure message

  • Loading branch information...
commit d1201409fa2aeefa243ddeb1390e9efc7a73fc91 1 parent 92eefec
@Cloudef authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pxml.c
View
4 lib/pxml.c
@@ -231,7 +231,7 @@ static int _fetch_pxml_from_pnd(char *pnd_file, char *PXML, size_t *size)
/* failure? */
if (!ret) {
fclose(pnd);
- DEBFAIL(START_TAG_FAIL);
+ DEBFAILP("%s: %s\n", pnd_file, START_TAG_FAIL);
return RETURN_FAIL;
}
@@ -254,7 +254,7 @@ static int _fetch_pxml_from_pnd(char *pnd_file, char *PXML, size_t *size)
/* read fail */
if (!ret) {
fclose(pnd);
- DEBFAIL(END_TAG_FAIL);
+ DEBFAILP("%s: %s\n", pnd_file, END_TAG_FAIL);
return RETURN_FAIL;
}
Please sign in to comment.
Something went wrong with that request. Please try again.