diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-31 16:01:55 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-31 16:01:55 +0200 |
commit | 032c69d9e1dfa7929fa6daabeaa53cf12da6ceb8 (patch) | |
tree | d25d5ae6dec677bf5153a1892263b88ba6f1a10c | |
parent | d6872925c8b6b13b59a1ece32416aa8ef9c12c70 (diff) | |
download | outils-032c69d9e1dfa7929fa6daabeaa53cf12da6ceb8.tar.gz outils-032c69d9e1dfa7929fa6daabeaa53cf12da6ceb8.tar.xz outils-032c69d9e1dfa7929fa6daabeaa53cf12da6ceb8.zip |
md5.c: dont use optreset
-rw-r--r-- | src/bin/md5/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/md5/md5.c b/src/bin/md5/md5.c index 9112868..4270bcf 100644 --- a/src/bin/md5/md5.c +++ b/src/bin/md5/md5.c @@ -23,6 +23,7 @@ #include <sys/types.h> #include <sys/queue.h> +#include <sys/time.h> #include <netinet/in.h> #include <ctype.h> #include <err.h> @@ -222,8 +223,7 @@ main(int argc, char **argv) usage(); } } - optind = 1; - optreset = 1; + optind = 0; while ((fl = getopt(argc, argv, optstr)) != -1) { switch (fl) { case 'a': |