diff options
Diffstat (limited to 'eBones/ksrvtgt/ksrvtgt.c')
-rw-r--r-- | eBones/ksrvtgt/ksrvtgt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eBones/ksrvtgt/ksrvtgt.c b/eBones/ksrvtgt/ksrvtgt.c index 46bbd56..79acf3e 100644 --- a/eBones/ksrvtgt/ksrvtgt.c +++ b/eBones/ksrvtgt/ksrvtgt.c @@ -1,18 +1,18 @@ /* - * Copyright 1988 by the Massachusetts Institute of Technology. + * Copyright 1988 by the Massachusetts Institute of Technology. * For copying and distribution information, please see the file - * <Copyright.MIT>. + * <Copyright.MIT>. * * Get a ticket-granting-ticket given a service key file (srvtab) * The lifetime is the shortest allowed [1 five-minute interval] * * from: ksrvtgt.c,v 4.3 89/07/28 10:17:28 jtkohl Exp $ - * $Id: ksrvtgt.c,v 1.2 1994/07/19 19:26:56 g89r4222 Exp $ + * $Id: ksrvtgt.c,v 1.1.1.1 1994/09/30 14:50:04 csgr Exp $ */ #ifndef lint const char rcsid[] = -"$Id: ksrvtgt.c,v 1.2 1994/07/19 19:26:56 g89r4222 Exp $"; +"$Id: ksrvtgt.c,v 1.1.1.1 1994/09/30 14:50:04 csgr Exp $"; #endif /* lint */ #include <stdio.h> @@ -36,10 +36,10 @@ main(argc,argv) argv[0]); exit(1); } - + if (argc == 4) (void) strncpy(srvtab, argv[3], sizeof(srvtab) -1); - + if (argc == 5) { (void) strncpy(realm, argv[3], sizeof(realm) - 1); (void) strncpy(srvtab, argv[4], sizeof(srvtab) -1); |