From ba3d9204813b9e57e4c724ca5259ed0454c45cd7 Mon Sep 17 00:00:00 2001 From: joda Date: Fri, 4 May 2001 13:09:43 +0000 Subject: [PATCH] fix argument number test --- crypto/dist/heimdal/kadmin/rename.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/dist/heimdal/kadmin/rename.c b/crypto/dist/heimdal/kadmin/rename.c index a052e5134b52..7edd5c6ac6e2 100644 --- a/crypto/dist/heimdal/kadmin/rename.c +++ b/crypto/dist/heimdal/kadmin/rename.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997-2000 Kungliga Tekniska Högskolan + * Copyright (c) 1997-2001 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -33,7 +33,7 @@ #include "kadmin_locl.h" -RCSID("$Id: rename.c,v 1.1.1.3 2001/02/11 13:51:33 assar Exp $"); +RCSID("$Id: rename.c,v 1.2 2001/05/04 13:09:43 joda Exp $"); static struct getargs args[] = { { "help", 'h', arg_flag, NULL } @@ -62,7 +62,7 @@ rename_entry(int argc, char **argv) usage (); return 0; } - if(argc - optind < 3 || help_flag) { + if(argc - optind != 2 || help_flag) { usage (); return 0; }