Skip to content
Snippets Groups Projects
Commit 43da5b20 authored by Steve Holme's avatar Steve Holme
Browse files

connect.c: Fixed compilation warning when no verbose string support

warning: unused parameter 'reason'
parent 591d5ca4
No related branches found
No related tags found
No related merge requests found
......@@ -1333,8 +1333,13 @@ CURLcode Curl_socket(struct connectdata *conn,
void Curl_conncontrol(struct connectdata *conn, bool closeit,
const char *reason)
{
#if defined(CURL_DISABLE_VERBOSE_STRINGS)
(void) reason;
#endif
infof(conn->data, "Marked for [%s]: %s\n", closeit?"closure":"keep alive",
reason);
conn->bits.close = closeit; /* the only place in the source code that should
assign this bit */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment