Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-19 19:50:54 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-09-19 19:50:54 +0400
commit487fb5f1c4da8cf18600e84e8b317e0e42ce1bff (patch)
tree9a3a8f81216062b3a98a10438a14b06f7b5b8517 /winsup/cygwin/fhandler_socket.cc
parent18508302f9bf5706a1094190bfd4c7935fea58b0 (diff)
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
memory allocation to use cmalloc again.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r--winsup/cygwin/fhandler_socket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 77a041c0f..9e019f9b8 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -45,7 +45,7 @@ fhandler_socket::fhandler_socket (const char *name) :
{
set_cb (sizeof *this);
set_need_fork_fixup ();
- prot_info_ptr = (LPWSAPROTOCOL_INFOA) ccalloc (HEAP_BUF, 1,
+ prot_info_ptr = (LPWSAPROTOCOL_INFOA) cmalloc (HEAP_BUF,
sizeof (WSAPROTOCOL_INFOA));
}