Fixed SF bug #1376 (this change was missing in rev. 12473).

This commit is contained in:
Volker Ruppert 2015-05-25 12:33:39 +00:00
parent c43ea147bf
commit 7be46cda6a

View File

@ -2,7 +2,7 @@
// $Id$
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002-2014 The Bochs Project Team
// Copyright (C) 2002-2015 The Bochs Project Team
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@ -872,7 +872,7 @@ static void wait_for_connect(int portn)
{
BX_PANIC(("Failed to accept on socket"));
}
close(listen_socket_fd);
closesocket(listen_socket_fd);
protoent = getprotobyname ("tcp");
if (!protoent)