From: Daniel Stenberg Date: Thu, 9 Oct 2025 15:17:31 +0000 (+0200) Subject: Curl_resolv: fix comment. 'entry' argument is not optional X-Git-Tag: rc-8_17_0-1~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=435da1f849ad9a5e91b8e348d6830b0c546ac15a;p=thirdparty%2Fcurl.git Curl_resolv: fix comment. 'entry' argument is not optional Reported-by: Joshua Rogers Closes #18979 --- diff --git a/lib/hostip.c b/lib/hostip.c index a6531c3171..41db274c5d 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -819,9 +819,9 @@ static CURLcode store_negative_resolve(struct Curl_easy *data, /* * Curl_resolv() is the main name resolve function within libcurl. It resolves - * a name and returns a pointer to the entry in the 'entry' argument (if one - * is provided). This function might return immediately if we are using asynch - * resolves. See the return codes. + * a name and returns a pointer to the entry in the 'entry' argument. This + * function might return immediately if we are using asynch resolves. See the + * return codes. * * The cache entry we return will get its 'inuse' counter increased when this * function is used. You MUST call Curl_resolv_unlink() later (when you are