[BusyBox-cvs] busybox/networking/udhcp files.c,1.8,1.9

Russ Dill russ at busybox.net
Tue Dec 16 02:29:13 UTC 2003


Update of /var/cvs/busybox/networking/udhcp
In directory nail:/tmp/cvs-serv7886

Modified Files:
	files.c 
Log Message:
why the complication of a static string rather than a define? gcc isn't dumb

Index: files.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/files.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- files.c	16 Dec 2003 01:42:18 -0000	1.8
+++ files.c	16 Dec 2003 02:29:11 -0000	1.9
@@ -167,7 +167,7 @@
 	{"conflict_time",read_u32,&(server_config.conflict_time),"3600"},
 	{"offer_time",	read_u32, &(server_config.offer_time),	"60"},
 	{"min_lease",	read_u32, &(server_config.min_lease),	"60"},
-	{"lease_file",  read_str, &(server_config.lease_file),  leases_file},
+	{"lease_file",  read_str, &(server_config.lease_file),	LEASES_FILE},
 	{"pidfile",	read_str, &(server_config.pidfile),	"/var/run/udhcpd.pid"},
 	{"notify_file", read_str, &(server_config.notify_file),	""},
 	{"siaddr",	read_ip,  &(server_config.siaddr),	"0.0.0.0"},




More information about the busybox-cvs mailing list