diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2014-10-12 10:03:09 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2014-10-12 10:04:44 +0300 |
commit | 6aa6dcecca8b75fe0eb2883364583957a2035b26 (patch) | |
tree | ca35807d53dfce1f98bb684826e2807b7fa741ac /tools | |
parent | d6134407405b56d33c0b8d3f1769214c71dd677e (diff) | |
download | ConsoleKit2-6aa6dcecca8b75fe0eb2883364583957a2035b26.tar.gz |
Limit max username length to 24
64 makes really long lines using ck-history on the cli, change it
down to 24. If this becomes a problem we can add an option to
display more characters.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ck-history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ck-history.c b/tools/ck-history.c index 42d5498..ce0d7d5 100644 --- a/tools/ck-history.c +++ b/tools/ck-history.c @@ -61,7 +61,7 @@ typedef enum { #define DEFAULT_LOG_FILENAME LOCALSTATEDIR "/log/ConsoleKit/history" #define MAX_LINE_LEN 2048 -#define USERNAME_MAX "64" +#define USERNAME_MAX "24" static GList *all_events = NULL; |