projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f43126
)
whoops
author
Russ Dill
<Russ.Dill@asu.edu>
Tue, 16 Dec 2003 01:33:38 +0000
(
01:33
-0000)
committer
Russ Dill
<Russ.Dill@asu.edu>
Tue, 16 Dec 2003 01:33:38 +0000
(
01:33
-0000)
networking/udhcp/files.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/files.c
b/networking/udhcp/files.c
index e2002460d0a845d933bf69b4634ec31f09d85315..f6003ff66d0f119030422af55943df628c02e1a1 100644
(file)
--- a/
networking/udhcp/files.c
+++ b/
networking/udhcp/files.c
@@
-248,7
+248,7
@@
void write_leases(void)
else leases[i].expires -= curr;
} /* else stick with the time we got */
leases[i].expires = htonl(leases[i].expires);
- fwrite(
leases[i], sizeof(stur
ct dhcpOfferedAddr), 1, fp);
+ fwrite(
&leases[i], sizeof(stru
ct dhcpOfferedAddr), 1, fp);
/* Then restore it when done. */
leases[i].expires = tmp_time;