]> sjero.net Git - wget/blobdiff - src/gen_sslfunc.c
[svn] Renamed xread/xwrite/xclose to fd_read/fd_write/fd_close. The "x" prefix is
[wget] / src / gen_sslfunc.c
index c21e1679b07c9864e09ef44ad28a6b84c4af1ce3..4cbab6acc193a1f4fb12b1c8ba1a030eddf4c622 100644 (file)
@@ -335,9 +335,9 @@ ssl_connect (int fd)
 
   /* Register FD with Wget's transport layer, i.e. arrange that
      SSL-enabled functions are used for reading, writing, and polling.
-     That way the rest of Wget can keep using xread, xwrite, and
-     friends and not care what happens underneath.  */
-  register_transport (fd, ssl_read, ssl_write, ssl_poll, ssl_close, ssl);
+     That way the rest of Wget can use fd_read, fd_write, and friends
+     and not care what happens underneath.  */
+  fd_register_transport (fd, ssl_read, ssl_write, ssl_poll, ssl_close, ssl);
   DEBUGP (("Connected %d to SSL 0x%0lx\n", fd, (unsigned long) ssl));
   return ssl;