]> granicus.if.org Git - curl/commitdiff
s/_write/write/g
authorGisle Vanem <gvanem@broadpark.no>
Fri, 17 Dec 2004 18:31:40 +0000 (18:31 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Fri, 17 Dec 2004 18:31:40 +0000 (18:31 +0000)
src/main.c

index ee80fabb38715342090742238848967dc31d33a2..a7af3766583d6b176d915f4a8c160974c5f112f6 100644 (file)
@@ -237,7 +237,7 @@ static int ftruncate64 (int fd, curl_off_t where)
   if (_lseeki64(fd, where, SEEK_SET) < 0)
      return -1;
 
-  if (_write(fd, 0, 0) < 0)
+  if (write(fd, 0, 0) < 0)
      rc = -1;
   _lseeki64(fd, curr, SEEK_SET);
   return rc;