projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the -header option from scan(1).
[mmh]
/
uip
/
ftpsbr.c
diff --git
a/uip/ftpsbr.c
b/uip/ftpsbr.c
index
f82f51b
..
b37d246
100644
(file)
--- a/
uip/ftpsbr.c
+++ b/
uip/ftpsbr.c
@@
-261,9
+261,9
@@
bad: ;
return NOTOK;
}
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) {
fp = istore ? stdin : stdout;
else
if ((fp = fopen(local, istore ? "r" : "w")) == NULL) {
@@
-451,7
+451,7
@@
vcommand(int complete, va_list ap)
return NOTOK;
}
return NOTOK;
}
- return(getreply(complete, !strcmp(buffer, "QUIT")));
+ return(getreply(complete, strcmp(buffer, "QUIT")==0));
}
}