From a9772cde21407c89abd161d51aff45267f87b1fb Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 14 Feb 2012 15:13:27 -0500 Subject: Clean up and reorganize our header files --- src/win32/pipe/pipe.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/win32/pipe') diff --git a/src/win32/pipe/pipe.cpp b/src/win32/pipe/pipe.cpp index 849517b94..f46094c80 100644 --- a/src/win32/pipe/pipe.cpp +++ b/src/win32/pipe/pipe.cpp @@ -9,9 +9,7 @@ int pipe(int fds[2]) { - sockaddrs localhost; - - localhost.pton(AF_INET, "127.0.0.1"); + sockaddrs localhost("127.0.0.1"); int cfd = socket(AF_INET, SOCK_STREAM, 0), lfd = socket(AF_INET, SOCK_STREAM, 0); if (cfd == -1 || lfd == -1) -- cgit