fix argument count check after getarg change; spotted by

mark@MCS.VUW.AC.NZ


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9790 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2001-04-19 07:26:52 +00:00
parent 083c221dfc
commit 88b39cfb98

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999-2000 Kungliga Tekniska H<>gskolan
* Copyright (c) 1999-2001 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -73,7 +73,7 @@ del_enctype(int argc, char **argv)
usage ();
return 0;
}
if(argc - optind < 3 || help_flag) {
if(argc - optind < 2 || help_flag) {
usage ();
return 0;
}