← Commit list

a1531261b1

Daniel Stenberg
Daniel Stenberg
2025-12-04
SUCCESS Duration: 223s

Subject

CURLMOPT_SOCKETFUNCTION.md: fix the callback argument use

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 →

docs/libcurl/opts/CURLMOPT_SOCKETFUNCTION.md+1 -1
@@ -109,7 +109,7 @@ struct priv {
static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
{
- struct priv *p = sockp;
+ struct priv *p = cbp;
printf("our ptr: %p\n", p->ours);
if(what == CURL_POLL_REMOVE) {