]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
windows: Fix compat define for sendto(2)
authorTobias Brunner <tobias@strongswan.org>
Wed, 8 Mar 2023 14:05:42 +0000 (15:05 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 21 Mar 2023 15:33:03 +0000 (16:33 +0100)
src/libstrongswan/utils/compat/windows.h

index 76645fed4a9922deb42fe49a4d1b6ae95ca0506f..98779d98ccbe826c8ea85239b172343330542443 100644 (file)
@@ -366,7 +366,7 @@ ssize_t windows_send(int sockfd, const void *buf, size_t len, int flags);
 /**
  * recvfrom(2) with support for MSG_DONTWAIT
  */
-#define sendto windows_send
+#define sendto windows_sendto
 ssize_t windows_sendto(int sockfd, const void *buf, size_t len, int flags,
                                           const struct sockaddr *dest_addr, socklen_t addrlen);