diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-26 09:42:40 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-26 09:42:40 +0300 |
commit | 9a751621661bab473334333b4422599bc26164a2 (patch) | |
tree | 742a43bdccdc8dec7c86ddf6813f6f82aa465c5a /winsup/cygwin/net.cc | |
parent | 989c97fe141b5869c3dfd438683b14a8bc8453ca (diff) |
* uinfo.cc (pwdgrp::load): Regularize strace output. Add warning for
CreateFile failure.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index eabd1b375..99301e3d4 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -124,7 +124,7 @@ set_socket_inheritance (SOCKET sock) SOCKET osock = sock; if (!DuplicateHandle (hMainProc, (HANDLE) sock, hMainProc, (HANDLE *) &sock, - 0, TRUE, DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE)) + 0, TRUE, DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE)) system_printf ("DuplicateHandle failed %E"); else debug_printf ("DuplicateHandle succeeded osock %p, sock %p", osock, sock); @@ -153,7 +153,7 @@ extern "C" unsigned short htons (unsigned short x) { return ((((x & 0x000000ffU) << 8) | - ((x & 0x0000ff00U) >> 8))); + ((x & 0x0000ff00U) >> 8))); } /* ntohs: standards? */ |