allow -qip -
authorewt <devnull@localhost>
Thu, 5 Dec 1996 00:01:49 +0000 (00:01 +0000)
committerewt <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

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) {