Fix missing initialization (thanks to Brezak).
This commit is contained in:
parent
c4eac0f370
commit
459c40194d
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user