Skip to content

Commit aaf88cd

Browse files
mgaertnebluca
authored andcommitted
Update vmci_listener.cpp
make vmci_listener compile on windows again
1 parent 3e5ce5c commit aaf88cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vmci_listener.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ int zmq::vmci_listener_t::set_local_address (const char *addr_)
9393
_s =
9494
open_socket (this->get_ctx ()->get_vmci_socket_family (), SOCK_STREAM, 0);
9595
#ifdef ZMQ_HAVE_WINDOWS
96-
if (s == INVALID_SOCKET) {
96+
if (_s == INVALID_SOCKET) {
9797
errno = wsa_error_to_errno (WSAGetLastError ());
9898
return -1;
9999
}

0 commit comments

Comments
 (0)