- Timestamp:
- Nov 12, 2010, 8:24:02 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/Changelog
r300 r303 1 1 2.8.1: 2 * Fix incorrect memset() in sh_kern.c (passed struct by value...), 3 reported by Roman and Stefan 4 * Fix 'make install' to create user-defined directory 2 5 * fix minor issues noticed by T. Luettgert (test code assumes port 3 6 0/tcp is unused, wrong ifdef order (without impact on compilation)) -
trunk/src/sh_kern.c
r294 r303 175 175 char path[128]; 176 176 char * p = NULL; 177 unsigned long x1 = 0, x2 = 0; 177 178 178 unsigned char * name = (unsigned char *) in_name; 179 179 struct store2db save; … … 181 181 sl_snprintf(path, 128, "K_%s_%04d", prefix, num); 182 182 183 memset( save, '\0', sizeof(struct store2db));183 memset(&save, '\0', sizeof(struct store2db)); 184 184 185 185 if (direction == SH_KERN_DBPUSH)
Note:
See TracChangeset
for help on using the changeset viewer.