projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db14420
)
allow -qip -
author
ewt
<devnull@localhost>
Thu, 5 Dec 1996 00:01:49 +0000
(
00:01
+0000)
committer
ewt
<devnull@localhost>
Thu, 5 Dec 1996 00:01:49 +0000
(
00:01
+0000)
CVS patchset: 1204
CVS date: 1996/12/05 00:01:49
query.c
patch
|
blob
|
history
diff --git
a/query.c
b/query.c
index
2159eb8
..
daed18c
100644
(file)
--- a/
query.c
+++ b/
query.c
@@
-647,6
+647,8
@@
int doQuery(char * prefix, enum querysources source, int queryFlags,
fprintf(stderr, "open of %s failed: %s\n", arg,
ftpStrerror(fd));
}
+ } else if (!strcmp(arg, "-")) {
+ fd = 0;
} else {
isUrl = 0;
if ((fd = open(arg, O_RDONLY)) < 0) {