Changeset 539 for trunk/src/sh_static.c
- Timestamp:
- Jan 7, 2019, 8:03:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_static.c
r533 r539 1474 1474 *fp = fopen("/etc/config/hosts", "r"); 1475 1475 } 1476 /* cppcheck-suppress resourceLeak */ 1476 1477 return; 1477 1478 } … … 1549 1550 1550 1551 *h_errnop=HOST_NOT_FOUND; 1552 if (fp == NULL) { 1553 return ret; 1554 } 1551 1555 while (fgets(buf, buflen, fp)) { 1552 1556 if ((cp = strchr(buf, '#')))
Note:
See TracChangeset
for help on using the changeset viewer.