From: Gabriel Marin Date: Sat, 13 Dec 2025 21:09:04 +0000 (+0100) Subject: easy: fix debug ev poll builds X-Git-Tag: rc-8_18_0-2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15de32f09da0365ee02463ceb31699ab84acc0cb;p=thirdparty%2Fcurl.git easy: fix debug ev poll builds Prior to this change the wrong variable name was used for one of the debug messages. Closes https://github.com/curl/curl/pull/19963 --- diff --git a/lib/easy.c b/lib/easy.c index bdda114850..138462af87 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -652,7 +652,7 @@ static CURLcode wait_or_timeout(struct Curl_multi *multi, struct events *ev) if(spent_ms > 0) { #if DEBUG_EV_POLL curl_mfprintf(stderr, "poll timeout %ldms not updated, decrease by " - "time spent %ldms\n", ev->ms, (long)timediff); + "time spent %ldms\n", ev->ms, (long)spent_ms); #endif if(spent_ms > ev->ms) ev->ms = 0;