return NOTOK;
}
- istore = !strcmp(cmd, "STOR");
+ istore = (strcmp(cmd, "STOR")==0);
- if ((istdio = !strcmp(local, "-")))
+ if ((istdio = strcmp(local, "-")==0))
fp = istore ? stdin : stdout;
else
if ((fp = fopen(local, istore ? "r" : "w")) == NULL) {
return NOTOK;
}
- return(getreply(complete, !strcmp(buffer, "QUIT")));
+ return(getreply(complete, strcmp(buffer, "QUIT")==0));
}