Changeset 4407 for trunk/src/target/opkg/libopkg/opkg.c
- Timestamp:
- 04/29/08 13:53:22 (5 years ago)
- File:
-
- 1 edited
-
trunk/src/target/opkg/libopkg/opkg.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/opkg/libopkg/opkg.c
r4398 r4407 296 296 opkg_set_option (opkg_t *opkg, char *option, void *value) 297 297 { 298 int i = 0 ;298 int i = 0, found = 0; 299 299 opkg_option_t *options; 300 300 … … 312 312 if (strcmp (options[i].name, option) == 0) 313 313 { 314 found = 1; 314 315 break; 315 316 } 316 317 i++; 318 } 319 320 if (!found) 321 { 322 /* XXX: Warning: Option not found */ 323 return; 317 324 } 318 325
Note: See TracChangeset
for help on using the changeset viewer.
