From: Adi Masputra Date: Tue, 18 Jan 2000 19:49:52 +0000 (+0000) Subject: This is main.c from ppp-2.3.11.tar.gz distribution to fix compilation errors. X-Git-Tag: ppp-2.4.7~576 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=d1eaa650149c3bbe4913d4e54b6325bbf34b0632;p=ppp.git This is main.c from ppp-2.3.11.tar.gz distribution to fix compilation errors. --- diff --git a/pppd/main.c b/pppd/main.c index 3a8277b..954fc2b 100644 --- a/pppd/main.c +++ b/pppd/main.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: main.c,v 1.88 1999/12/23 01:28:27 paulus Exp $" +#define RCSID "$Id: main.c,v 1.89 2000/01/18 19:49:52 masputra Exp $" #include #include @@ -94,6 +94,7 @@ volatile int status; /* exit status for pppd */ int unsuccess; /* # unsuccessful connection attempts */ int do_callback; /* != 0 if we should do callback next */ int doing_callback; /* != 0 if we are doing callback */ +char *callback_script; /* script for doing callback */ int (*holdoff_hook) __P((void)) = NULL; int (*new_phase_hook) __P((int)) = NULL; @@ -222,7 +223,7 @@ main(argc, argv) { int i, fdflags, t; struct sigaction sa; - char *p; + char *p, *connector; struct passwd *pw; struct timeval timo; sigset_t mask;