From 116e558a8f0ea77576493465c689a9187be53f17 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 9 Nov 1997 22:56:15 +0000 Subject: [PATCH] Initialize VarAltPhone. PR: 4993 --- usr.sbin/ppp/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index b0d49c4dbc99..9aae4c06fa22 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.c,v 1.94 1997/11/09 18:51:22 brian Exp $ + * $Id: command.c,v 1.95 1997/11/09 22:07:27 brian Exp $ * */ #include @@ -1276,6 +1276,7 @@ SetVariable(struct cmdtab const * list, int argc, char **argv, int param) VarPhoneList[sizeof(VarPhoneList) - 1] = '\0'; strcpy(VarPhoneCopy, VarPhoneList); VarNextPhone = VarPhoneCopy; + VarAltPhone = NULL; break; case VAR_HANGUP: strncpy(VarHangupScript, arg, sizeof(VarHangupScript) - 1);