Skip to content
Permalink
Browse files

easy: remove dead code

multi is already assigned to data->multi by curl_multi_add_handle.

Closes #4900
  • Loading branch information
jay committed Feb 9, 2020
1 parent d78672b commit 55bb83c92b8dba30aa0ef15a8130a5509c03d1a5
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/easy.c
@@ -690,10 +690,6 @@ static CURLcode easy_perform(struct Curl_easy *data, bool events)

sigpipe_ignore(data, &pipe_st);

/* assign this after curl_multi_add_handle() since that function checks for
it and rejects this handle otherwise */
data->multi = multi;

/* run the transfer */
result = events ? easy_events(multi) : easy_transfer(multi);

0 comments on commit 55bb83c

Please sign in to comment.
You can’t perform that action at this time.