Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/* fall through */
case 201: /* 201 Created */
/* "The request has been fulfilled and resulted in a new resource being created" */
- /* Standard wget is reported to treak this as success */
+ /* Standard wget is reported to treat this as success */
/* fall through */
case 202: /* 202 Accepted */
/* "The request has been accepted for processing, but the processing has not been completed" */
continue;
/* Do we have this service listed already? */
for (i = 0; i < svnum; i++) {
- if ((sv[i].ino == s.st_ino)
+ if (sv[i].ino == s.st_ino
#if CHECK_DEVNO_TOO
- && (sv[i].dev == s.st_dev)
+ && sv[i].dev == s.st_dev
#endif
) {
if (sv[i].pid == 0) /* restart if it has died */
#endif
p = lookupvar("PWD");
if (p) {
- if (*p != '/' || stat(p, &st1) || stat(".", &st2)
+ if (p[0] != '/' || stat(p, &st1) || stat(".", &st2)
|| st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino
) {
- p = '\0';
+ p = NULL;
}
}
setpwd(p, 0);