Fix bug #4 for net rap. Allow more than 50 chars for long form listings of users...
authorJim McDonough <jmcd@samba.org>
Fri, 9 May 2003 13:06:11 +0000 (13:06 +0000)
committerJim McDonough <jmcd@samba.org>
Fri, 9 May 2003 13:06:11 +0000 (13:06 +0000)
source/utils/net_rap.c

index 6e691a1f60ab957a2ed6f9dca738e53ecd43461a..1f6c6e7a8470cf64ee1f15429aaa12a75a375ee9 100644 (file)
@@ -599,7 +599,7 @@ static void long_user_fn(const char *user_name, const char *comment,
                         const char * home_dir, const char * logon_script, 
                         void *state)
 {
-       d_printf("%-21.21s %-50.50s\n",
+       d_printf("%-21.21s %s\n",
                 user_name, comment);
 }
 
@@ -717,7 +717,7 @@ int net_rap_group_usage(int argc, const char **argv)
 static void long_group_fn(const char *group_name, const char *comment,
                          void *state)
 {
-       d_printf("%-21.21s %-50.50s\n", group_name, comment);
+       d_printf("%-21.21s %s\n", group_name, comment);
 }
 
 static void group_fn(const char *group_name, const char *comment, void *state)