From 2ff7cd75c711ad66164ccede7b56a4d4c852f288 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Aug 2023 10:02:23 +0200 Subject: [PATCH] lib: minor comment corrections --- lib/multi.c | 1 - lib/urldata.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/multi.c b/lib/multi.c index 736941b7b4..1d1acb6396 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1623,7 +1623,6 @@ static CURLcode multi_do(struct Curl_easy *data, bool *done) DEBUGASSERT(conn->handler); if(conn->handler->do_it) - /* generic protocol-specific function pointer set in curl_connect() */ result = conn->handler->do_it(data, done); return result; diff --git a/lib/urldata.h b/lib/urldata.h index 25ccee88f6..0af5a94ddd 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -754,7 +754,7 @@ struct Curl_handler { * after the connect() and everything is done, as a step in the connection. * The 'done' pointer points to a bool that should be set to TRUE if the * function completes before return. If it doesn't complete, the caller - * should call the curl_connecting() function until it is. + * should call the ->connecting() function until it is. */ CURLcode (*connect_it)(struct Curl_easy *data, bool *done);