commit e55c9ce583efdd740da7458812d3253d9f4895ae
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Thu May 25 19:00:15 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Thu May 25 19:00:15 2017 +0200
Fix blind-from-named
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/src/blind-from-named.c b/src/blind-from-named.c
index ee053f2..47b9a6e 100644
--- a/src/blind-from-named.c
+++ b/src/blind-from-named.c
_AT_@ -92,9 +92,9 @@ main(int argc, char *argv[])
default:
usage();
} ARGEND;
- if (argc < 1 || (filedes >= 0 && argc > 1))
+ if (argc < 1 || (filedes >= 0 && argc == 1))
usage();
- if (argc > 0 && filedes < 0)
+ if (filedes < 0)
filedes = STDIN_FILENO;
memset(&addr, 0, sizeof(addr));
Received on Thu May 25 2017 - 19:00:35 CEST
This archive was generated by hypermail 2.3.0
: Thu May 25 2017 - 19:12:18 CEST