From ae884fe7d6a1445e41bc7965f88cc28341a4687a Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 5 Dec 1996 00:01:49 +0000 Subject: [PATCH] allow -qip - CVS patchset: 1204 CVS date: 1996/12/05 00:01:49 --- query.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/query.c b/query.c index 2159eb8..daed18c 100644 --- 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) { -- 2.7.4