[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pptpclient-commits
Subject:    [pptpclient-commits] CVS: pptp-linux ChangeLog, 1.113,
From:       James Cameron <quozl () users ! sourceforge ! net>
Date:       2007-11-21 3:36:49
Message-ID: E1IugOP-0002oF-Qd () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/pptpclient/pptp-linux
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10790

Modified Files:
	ChangeLog pptp_ctrl.c 
Log Message:
c89 fix

Index: ChangeLog
===================================================================
RCS file: /cvsroot/pptpclient/pptp-linux/ChangeLog,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- ChangeLog	28 Aug 2007 00:17:13 -0000	1.113
+++ ChangeLog	21 Nov 2007 03:36:47 -0000	1.114
@@ -1,3 +1,8 @@
+Wed Nov 21 14:29:46 2007  Leo Savernik  <l.savernik@aon.at>
+
+	* pptp_ctrl.c (pptp_fd_set): fix compile with an ANSI
+	C89-compliant compiler.
+
 Tue Aug 28 10:17:36 2007  James Cameron  <quozl@us.netrek.org>
 
 	* README, pptp.c: assign copyright to Free Software Foundation,

Index: pptp_ctrl.c
===================================================================
RCS file: /cvsroot/pptpclient/pptp-linux/pptp_ctrl.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- pptp_ctrl.c	2 Aug 2006 06:22:34 -0000	1.32
+++ pptp_ctrl.c	21 Nov 2007 03:36:47 -0000	1.33
@@ -457,6 +457,7 @@
 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 +466,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;
 }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pptpclient-commits mailing list
pptpclient-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pptpclient-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic