mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
[master] fix nsupdate test on windows
4888. [test] Initialize sockets correctly in sample-update so that nsupdate system test will will run on Windows. [RT #47097]
This commit is contained in:
@@ -641,10 +641,10 @@ initialise(void) {
|
||||
exit(1);
|
||||
}
|
||||
/*
|
||||
* The following APIs do not exist as functions in a library, but we must
|
||||
* ask winsock for them. They are "extensions" -- but why they cannot be
|
||||
* actual functions is beyond me. So, ask winsock for the pointers to the
|
||||
* functions we need.
|
||||
* The following APIs do not exist as functions in a library, but
|
||||
* we must ask winsock for them. They are "extensions" -- but why
|
||||
* they cannot be actual functions is beyond me. So, ask winsock
|
||||
* for the pointers to the functions we need.
|
||||
*/
|
||||
sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
||||
INSIST(sock != INVALID_SOCKET);
|
||||
|
Reference in New Issue
Block a user