summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_sendto.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-16 16:41:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-16 16:41:14 +0000
commit821814eb2c484fc4ddc712466f8c50f12f7024a2 (patch)
tree0c55c8fd23101ea9c857d420631329e559892ae6 /lib/libpthread/uthread/uthread_sendto.c
parentd80dcac7381da3a2efb026ae223acdaa625245b6 (diff)
deal with socklen_t
Diffstat (limited to 'lib/libpthread/uthread/uthread_sendto.c')
-rw-r--r--lib/libpthread/uthread/uthread_sendto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_sendto.c b/lib/libpthread/uthread/uthread_sendto.c
index 306ffbfca74..8eacbd509d9 100644
--- a/lib/libpthread/uthread/uthread_sendto.c
+++ b/lib/libpthread/uthread/uthread_sendto.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_sendto.c,v 1.2 1999/01/06 05:29:26 d Exp $
+ * $OpenBSD: uthread_sendto.c,v 1.3 1999/02/16 16:41:13 millert Exp $
*/
#include <errno.h>
#include <sys/types.h>
@@ -40,7 +40,7 @@
#include "pthread_private.h"
ssize_t
-sendto(int fd, const void *msg, size_t len, int flags, const struct sockaddr * to, int to_len)
+sendto(int fd, const void *msg, size_t len, int flags, const struct sockaddr *to, socklen_t to_len)
{
int ret;