openbsd-ports/devel/libio/patches/patch-io_method_c
sturm 63d1e41aa5 Initial import of libio 0.1
libio provides an abstraction for general data transport. It creates
data sources and data sinks. The sources and sinks can be connected with
multiple filters. As a result encryption and authentication can happen
completely transparent to the main core of an application. Mutliplex
nodes can be used to deal with N-fan in and M-fan out.

WWW: http://monkey.org/~provos/libio/

from Jolan Luff <jolan@cryptonomicon.org>
2003-04-17 10:59:48 +00:00

13 lines
380 B
Plaintext

$OpenBSD: patch-io_method_c,v 1.1.1.1 2003/04/17 10:59:48 sturm Exp $
--- io_method.c.orig Tue Mar 26 22:41:23 2002
+++ io_method.c Sun Apr 13 08:20:08 2003
@@ -59,7 +59,7 @@ ssize_t
io_method_accept(int fd, void *buf, size_t size)
{
struct sockaddr_storage from;
- size_t fromlen = sizeof(from);
+ socklen_t fromlen = sizeof(from);
if (size < sizeof(int))
return (0);