openbsd-ports/net/pop3gwd/patches/patch-relay_datac
2003-06-18 12:18:12 +00:00

13 lines
451 B
Plaintext

# $OpenBSD: patch-relay_datac,v 1.2 2003/06/18 12:18:12 naddy Exp $
--- relay_data.c.orig Thu Jun 19 11:06:28 1997
+++ relay_data.c Wed Jun 18 14:13:14 2003
@@ -39,7 +39,7 @@ void relay_data(int first_filedes, int s
while (logged_in == TRUE) {
- bcopy(&master, &copy, sizeof(fd_set)); /* select() trashes copy */
+ memcpy(&copy, &master, sizeof(fd_set)); /* select() trashes copy */
deadline.tv_sec = maxwait;
deadline.tv_usec = 0;