Fix missing initialization (thanks to Brezak).

This commit is contained in:
gwr 1994-08-24 01:34:47 +00:00
parent c4eac0f370
commit 459c40194d
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@ SOFTWARE.
************************************************************************/ ************************************************************************/
#ifndef lint #ifndef lint
static char rcsid[] = "$Id: bootpd.c,v 1.2 1994/08/22 22:14:43 gwr Exp $"; static char rcsid[] = "$Id: bootpd.c,v 1.3 1994/08/24 01:34:47 gwr Exp $";
#endif #endif
/* /*
@ -816,6 +816,7 @@ HW addr type is IEEE 802. convert to %s and check again\n",
clntpath = &realpath[strlen(realpath)]; clntpath = &realpath[strlen(realpath)];
} else { } else {
clntpath = realpath; clntpath = realpath;
clntpath[0] = '\0';
} }
/* /*

View File

@ -21,7 +21,7 @@ SOFTWARE.
************************************************************************/ ************************************************************************/
#ifndef lint #ifndef lint
static char rcsid[] = "$Id: bootpd.c,v 1.2 1994/08/22 22:14:43 gwr Exp $"; static char rcsid[] = "$Id: bootpd.c,v 1.3 1994/08/24 01:34:47 gwr Exp $";
#endif #endif
/* /*
@ -816,6 +816,7 @@ HW addr type is IEEE 802. convert to %s and check again\n",
clntpath = &realpath[strlen(realpath)]; clntpath = &realpath[strlen(realpath)];
} else { } else {
clntpath = realpath; clntpath = realpath;
clntpath[0] = '\0';
} }
/* /*