X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmod-helpserv.c;h=f1d6b8f2b6116c332986115019f20da2d5052a33;hb=8aa2683163c6e3133d717a87009b333ed6260401;hp=7eabafd6d0cd71c8e329c6d304967f68a7e8de90;hpb=6bd8682423b3da288dda2f19816b23970387c1da;p=srvx.git diff --git a/src/mod-helpserv.c b/src/mod-helpserv.c index 7eabafd..f1d6b8f 100644 --- a/src/mod-helpserv.c +++ b/src/mod-helpserv.c @@ -705,7 +705,7 @@ static void helpserv_log_request(struct helpserv_request *req, const char *reaso if (!(ctx = saxdb_open_context(reqlog_f))) return; sprintf(key, "%s-%lu-%lu", req->hs->helpserv->nick, (unsigned long)req->opened, req->id); - if ((res = setjmp(ctx->jbuf)) != 0) { + if ((res = setjmp(*saxdb_jmp_buf(ctx))) != 0) { log_module(HS_LOG, LOG_ERROR, "Unable to log helpserv request: %s.", strerror(res)); } else { saxdb_start_record(ctx, key, 1);