From: zhangxiuhua Date: Thu, 10 Jun 2021 08:17:31 +0000 (+0800) Subject: doh: fix wrong DEBUGASSERT for doh private_data X-Git-Tag: curl-7_78_0~156 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23eef2394cb810294a669d4bb4862bbdb2f5ced6;p=thirdparty%2Fcurl.git doh: fix wrong DEBUGASSERT for doh private_data Closes #7227 --- diff --git a/lib/doh.c b/lib/doh.c index 36f8cd58dc..cf3848d963 100644 --- a/lib/doh.c +++ b/lib/doh.c @@ -369,7 +369,7 @@ static CURLcode dohprobe(struct Curl_easy *data, /* DOH private_data must be null because the user must have a way to distinguish their transfer's handle from DOH handles in user callbacks (ie SSL CTX callback). */ - DEBUGASSERT(!data->set.private_data); + DEBUGASSERT(!doh->set.private_data); if(curl_multi_add_handle(multi, doh)) goto error;