Code cleanup
This commit is contained in:
parent
5251b5f5fc
commit
9a3c47f15d
@ -1,13 +1,12 @@
|
||||
/*****************************************************************************
|
||||
*
|
||||
* File ..................: mbuseradd/commonio.c
|
||||
* $Id$
|
||||
* Purpose ...............: MBSE BBS Shadow Password Suite
|
||||
* Last modification date : 09-Aug-2001
|
||||
* Original Source .......: Shadow Password Suite
|
||||
* Original Copyrioght ...: Julianne Frances Haugh and others.
|
||||
* Original Copyright ....: Julianne Frances Haugh and others.
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1997-2001
|
||||
* Copyright (C) 1997-2005
|
||||
*
|
||||
* Michiel Broek FIDO: 2:280/2802
|
||||
* Beekmansbos 10
|
||||
|
@ -5,7 +5,7 @@
|
||||
* Shadow Suite (c) ......: Julianne Frances Haugh
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1997-2004
|
||||
* Copyright (C) 1997-2005
|
||||
*
|
||||
* Michiel Broek FIDO: 2:280/2802
|
||||
* Beekmansbos 10
|
||||
@ -241,7 +241,6 @@ static void check_flags(int argc, char * const *argv)
|
||||
* clever rlogin, telnet, and getty holes.
|
||||
*/
|
||||
for (arg = 1; arg < argc; arg++) {
|
||||
// printf("%d <%s>\n", arg, argv[arg]);
|
||||
if (argv[arg][0] == '-' && strlen(argv[arg]) > 2)
|
||||
usage();
|
||||
}
|
||||
@ -509,8 +508,6 @@ int main(int argc, char **argv)
|
||||
init_env();
|
||||
|
||||
if (optind < argc) { /* get the user name */
|
||||
// if (rflg || fflg)
|
||||
// usage();
|
||||
|
||||
#ifdef SVR4
|
||||
/*
|
||||
@ -527,8 +524,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
// printf("[%s]\n", username);
|
||||
|
||||
#ifdef SVR4
|
||||
/*
|
||||
* check whether ttymon has done the prompt for us already
|
||||
|
Reference in New Issue
Block a user