{
struct curl_llist_element *sendhead = conn->send_pipe->head;
struct curl_llist *pipeline;
- CURLcode result;
+ CURLcode rc;
pipeline = conn->send_pipe;
- result = Curl_addHandleToPipeline(handle, pipeline);
+ rc = Curl_addHandleToPipeline(handle, pipeline);
if(pipeline == conn->send_pipe && sendhead != conn->send_pipe->head) {
/* this is a new one as head, expire it */
print_pipeline(conn);
#endif
- return result;
+ return rc;
}
/* Move this transfer from the sending list to the receiving list.
bool Curl_pipeline_server_blacklisted(struct SessionHandle *handle,
char *server_name)
{
- if(handle->multi && server_name) {
+ if(handle->multi) {
struct curl_llist *blacklist =
Curl_multi_pipelining_server_bl(handle->multi);
}
}
- DEBUGF(infof(handle, "Server %s is not blacklisted\n", server_name));
+ infof(handle, "Server %s is not blacklisted\n", server_name);
}
return FALSE;
}