added two pointers to the fd_set variables to read/write from, as sometimes
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 May 2002 22:13:35 +0000 (22:13 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 May 2002 22:13:35 +0000 (22:13 +0000)
we need to point to user-provided fd_sets

lib/urldata.h

index d61f281321ec864da3dff491fecf1b0b95b97296..7480416d466c4528e2c32b6122942a7b8cbc45bc 100644 (file)
@@ -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;