Changeset 12397
- Timestamp:
- 06/29/09 16:53:23 (4 years ago)
- File:
-
- 1 edited
-
src/router/services/sysinit/defaults.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/sysinit/defaults.c
r12395 r12397 2619 2619 #else 2620 2620 struct nvram_tuple *srouter_defaults = NULL; 2621 static int defaultnum;2621 static unsigned int defaultnum; 2622 2622 void load_defaults(void) 2623 2623 { … … 2625 2625 if (in == NULL) 2626 2626 return; 2627 fread(&defaultnum, 4, 1, in); 2627 defaultnum = (unsigned int)getc(in); 2628 defaultnum |= (unsigned int)getc(in) << 8; 2629 defaultnum |= (unsigned int)getc(in) << 16; 2630 defaultnum |= (unsigned int)getc(in) << 24; 2631 //fread(&defaultnum, 4, 1, in); 2628 2632 int i; 2629 2633 srouter_defaults =
Note: See TracChangeset
for help on using the changeset viewer.
