diff options
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/multi.c b/lib/multi.c index 95544e662..f9fcac12e 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -218,7 +218,7 @@ void curl_multi_dump(CURLM *multi_handle); static void multistate(struct Curl_one_easy *easy, CURLMstate state) { #ifdef CURLDEBUG - long index = -5000; + long connectindex = -5000; #endif CURLMstate oldstate = easy->state; @@ -231,12 +231,12 @@ static void multistate(struct Curl_one_easy *easy, CURLMstate state) #ifdef CURLDEBUG if(easy->state > CURLM_STATE_CONNECT && easy->state < CURLM_STATE_COMPLETED) - index = easy->easy_conn->connectindex; + connectindex = easy->easy_conn->connectindex; infof(easy->easy_handle, "STATE: %s => %s handle %p; (connection #%ld) \n", statename[oldstate], statename[easy->state], - (char *)easy, index); + (char *)easy, connectindex); #endif if(state == CURLM_STATE_COMPLETED) /* changing to COMPLETED means there's one less easy handle 'alive' */ |