Commit 8e50d6b6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added two pointers to the fd_set variables to read/write from, as sometimes

we need to point to user-provided fd_sets
parent 2db0744a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -249,6 +249,10 @@ struct Curl_transfer_keeper {
  char *uploadbuf;
  int maxfd;

  /* pointers to the actual descriptors we check */
  fd_set *readfdp;
  fd_set *writefdp;

  /* the file descriptors to play with */
  fd_set readfd;
  fd_set writefd;