diff options
| author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-02 22:21:20 +0000 |
|---|---|---|
| committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-02 22:21:20 +0000 |
| commit | c544753526b5b25085dfdb9836f27b5c02781264 (patch) | |
| tree | a34a2f555b682b8c446184f4ca5db1fde4732fd3 /net/pptpclient/files/patch-pptp_ctrl.c | |
| parent | upgrade to version 0.9.3 (diff) | |
Update to 1.7.0
PR: 86773
Approved by: thomas (maintainer), pav (mentor)
Diffstat (limited to 'net/pptpclient/files/patch-pptp_ctrl.c')
| -rw-r--r-- | net/pptpclient/files/patch-pptp_ctrl.c | 20 |
1 files changed, 20 insertions, 0 deletions
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; + } |
