Changes in boot/generic/src/payload.c [df7dc9e:dcc2c5d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/src/payload.c
rdf7dc9e rdcc2c5d 61 61 { 62 62 char *e = (char *) ext(s); 63 if ( e != NULL &&str_cmp(e, ".gz") == 0)63 if (str_cmp(e, ".gz") == 0) 64 64 *e = '\0'; 65 65 } … … 67 67 static bool isgzip(const char *s) 68 68 { 69 const char *e = ext(s); 70 return e != NULL && str_cmp(e, ".gz") == 0; 69 return str_cmp(ext(s), ".gz") == 0; 71 70 } 72 71
Note:
See TracChangeset
for help on using the changeset viewer.