mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Coverity: tackled a few CIDs (#470)
This commit is contained in:
@@ -216,6 +216,7 @@ bool CSuperSerialCard::CheckComm()
|
||||
|
||||
// have socket so attempt to bind it
|
||||
SOCKADDR_IN saAddress;
|
||||
memset(&saAddress, 0, sizeof(SOCKADDR_IN));
|
||||
saAddress.sin_family = AF_INET;
|
||||
saAddress.sin_port = htons(TCP_SERIAL_PORT); // TODO: get from registry / GUI
|
||||
saAddress.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||
|
||||
Reference in New Issue
Block a user