+4 Nov 2013: Wouter
+ - Patch from Neel Goyal to fix callback in libunbound.
+
3 Nov 2013: Wouter
- if configured --with-libunbound-only fix make install.
struct ctx_query* q = (struct ctx_query*)arg;
ub_event_callback_t cb = (ub_event_callback_t)q->cb;
void* cb_arg = q->cb_arg;
+ int cancelled = q->cancelled;
/* delete it now */
struct ub_ctx* ctx = q->w->ctx;
context_query_delete(q);
lock_basic_unlock(&ctx->cfglock);
- if(!q->cancelled) {
+ if(!cancelled) {
/* call callback */
int sec = 0;
if(s == sec_status_bogus)