From c544753526b5b25085dfdb9836f27b5c02781264 Mon Sep 17 00:00:00 2001 From: Marcus Alves Grando Date: Sun, 2 Oct 2005 22:21:20 +0000 Subject: Update to 1.7.0 PR: 86773 Approved by: thomas (maintainer), pav (mentor) --- net/pptpclient/files/patch-pptp_ctrl.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net/pptpclient/files/patch-pptp_ctrl.c (limited to 'net/pptpclient/files/patch-pptp_ctrl.c') diff --git a/net/pptpclient/files/patch-pptp_ctrl.c b/net/pptpclient/files/patch-pptp_ctrl.c new file mode 100644 index 000000000000..51aa84471f35 --- /dev/null +++ b/net/pptpclient/files/patch-pptp_ctrl.c @@ -0,0 +1,20 @@ +--- pptp_ctrl.c.orig Fri Sep 30 21:56:59 2005 ++++ pptp_ctrl.c Fri Sep 30 21:57:27 2005 +@@ -457,6 +457,8 @@ + void pptp_fd_set(PPTP_CONN * conn, fd_set * read_set, fd_set * write_set, + int * max_fd) + { ++ int sig_fd; ++ + assert(conn && conn->call); + /* Add fd to write_set if there are outstanding writes. */ + if (conn->write_size > 0) +@@ -465,7 +467,7 @@ + FD_SET(conn->inet_sock, read_set); + if (*max_fd < conn->inet_sock) *max_fd = conn->inet_sock; + /* Add signal pipe file descriptor to set */ +- int sig_fd = sigpipe_fd(); ++ sig_fd = sigpipe_fd(); + FD_SET(sig_fd, read_set); + if (*max_fd < sig_fd) *max_fd = sig_fd; + } -- cgit v1.2.3