From 5780fdaca5a2cd49c8218aec48cb6647374089ec Mon Sep 17 00:00:00 2001 From: kx Date: Wed, 28 Sep 2022 17:07:19 +0300 Subject: users list command implementation --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 3e991d1..d00230e 100644 --- a/src/main.c +++ b/src/main.c @@ -18,6 +18,8 @@ #include #include +#include +#include char *progname; /* The name of this program, as taken from argv[0]. */ int done; /* When non-zero, this global means the user is done using this program. */ @@ -256,7 +258,7 @@ char *stripwhite( char *string ) if( *s == 0 ) return( s ); - t = s + strlen (s) - 1; + t = s + strlen( s ) - 1; while( t > s && whitespace( *t ) ) t--; *++t = '\0'; -- cgit v1.2.3