← Commit list

435da1f849

Daniel Stenberg
Daniel Stenberg
2025-10-09
TIMEOUT Duration: 768s

Subject

Curl_resolv: fix comment. 'entry' argument is not optional

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/hostip.c+3 -3
@@ -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