diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2002-07-23 14:12:03 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2002-07-23 14:12:03 +0000 |
commit | 37bf95c248f7f8e9f0f2557224837e530c428e93 (patch) | |
tree | 1fe95869eaf97ba5888bb1f2a7163a4d6770d4f3 /otherlibs/win32unix/read.c | |
parent | 30fdb7585514c6557ad38b87f8bfe079c322edc4 (diff) |
detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/read.c')
-rw-r--r-- | otherlibs/win32unix/read.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/win32unix/read.c b/otherlibs/win32unix/read.c index 2c727173e..704cec2c7 100644 --- a/otherlibs/win32unix/read.c +++ b/otherlibs/win32unix/read.c @@ -34,8 +34,8 @@ CAMLprim value unix_read(value fd, value buf, value ofs, value len) ret = recv(s, iobuf, numbytes, 0); leave_blocking_section(); if (ret == SOCKET_ERROR) { - win32_maperr(WSAGetLastError()); - uerror("read", Nothing); + win32_maperr(WSAGetLastError()); + uerror("read", Nothing); } numread = ret; } else { @@ -45,8 +45,8 @@ CAMLprim value unix_read(value fd, value buf, value ofs, value len) ret = ReadFile(h, iobuf, numbytes, &numread, NULL); leave_blocking_section(); if (! ret) { - win32_maperr(GetLastError()); - uerror("read", Nothing); + win32_maperr(GetLastError()); + uerror("read", Nothing); } } memmove (&Byte(buf, Long_val(ofs)), iobuf, numread); |