1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Initialize VarAltPhone.

PR:		4993
This commit is contained in:
Brian Somers 1997-11-09 22:56:15 +00:00
parent 8ea8442c9a
commit 116e558a8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31082

View File

@ -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 <sys/param.h>
@ -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);