This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] cygwin: fix stray semicolon


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2e989b212955665384bf61ee82dd487844a9371a

commit 2e989b212955665384bf61ee82dd487844a9371a
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Nov 7 16:34:17 2017 +0100

    cygwin: fix stray semicolon
    
    introduced by patch 1c50e0d1abd5cc790e72572af6fd6b03f7d1c594
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/fhandler_socket.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 185fd51..b8e684f 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -623,7 +623,7 @@ fhandler_socket::init_events ()
       NtClose (wsock_mtx);
       return false;
     }
-  if (!(wsock_events = search_wsa_event_slot (new_serial_number)));
+  if (!(wsock_events = search_wsa_event_slot (new_serial_number)))
     {
       set_errno (ENOBUFS);
       NtClose (wsock_evt);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]