]> sjero.net Git - wget/blobdiff - src/retr.c
[svn] Renamed xread/xwrite/xclose to fd_read/fd_write/fd_close. The "x" prefix is
[wget] / src / retr.c
index e177f7a5a692715108dd0dafc23c955cd31ffc9f..1fc3f8b0665dae2d3411c371577f16f1926aa786 100644 (file)
@@ -243,7 +243,7 @@ get_contents (int fd, FILE *fp, long *len, long restval, long expected,
                }
            }
        }
-      res = xread (fd, dlbuf, amount_to_read, tmout);
+      res = fd_read (fd, dlbuf, amount_to_read, tmout);
 
       if (res == 0 || (res < 0 && errno != ETIMEDOUT))
        break;