projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make saxdb_context definition private.
[srvx.git]
/
src
/
modcmd.c
diff --git
a/src/modcmd.c
b/src/modcmd.c
index f30a4e9f073daf7688478cbb309229c15de416e8..cc298a9a0cced2bf94a08923bc9b3c89ffdd2fe9 100644
(file)
--- a/
src/modcmd.c
+++ b/
src/modcmd.c
@@
-1834,8
+1834,7
@@
static MODCMD_FUNC(cmd_dump_messages) {
reply("MSG_INTERNAL_FAILURE");
return 0;
}
reply("MSG_INTERNAL_FAILURE");
return 0;
}
- if ((res = setjmp(ctx->jbuf)) != 0) {
- ctx->complex.used = 0; /* to avoid false assert()s in close */
+ if ((res = setjmp(*saxdb_jmp_buf(ctx))) != 0) {
saxdb_close_context(ctx);
fclose(pf);
reply("MCMSG_MESSAGE_DUMP_FAILED", strerror(res));
saxdb_close_context(ctx);
fclose(pf);
reply("MCMSG_MESSAGE_DUMP_FAILED", strerror(res));