Skip to content

Commit

Permalink
Fix mingw build warning
Browse files Browse the repository at this point in the history
Not sure if the --passtos is actually going to *work* on Windows, but it
shouldn't do any harm if it isn't used. Shut it up.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Aug 25, 2016
1 parent 3731692 commit 9566e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtls.c
Expand Up @@ -1045,7 +1045,7 @@ int dtls_mainloop(struct openconnect_info *vpninfo, int *timeout)
vpn_progress(vpninfo, PRG_DEBUG, _("TOS this: %d, TOS last: %d\n"),
tos, vpninfo->dtls_tos_current);
if (setsockopt(vpninfo->dtls_fd, vpninfo->dtls_tos_proto,
vpninfo->dtls_tos_optname, &tos, sizeof(tos)))
vpninfo->dtls_tos_optname, (void *)&tos, sizeof(tos)))
vpn_perror(vpninfo, _("UDP setsockopt"));
else
vpninfo->dtls_tos_current = tos;
Expand Down

0 comments on commit 9566e72

Please sign in to comment.