diff options
author | Matt Johnston <matt@ucc.asn.au> | 2011-02-23 15:50:30 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2011-02-23 15:50:30 +0000 |
commit | 38ed870ffeea569f6da1e615685147a84f231cf3 (patch) | |
tree | cc0c3378b7e231df6b44c881d10235c313478a60 /svr-session.c | |
parent | 1e4ed404c500c4bf01300a9efe7e2fb329dc3b02 (diff) |
Improve capitalisation for all logged strings
--HG--
extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
Diffstat (limited to 'svr-session.c')
-rw-r--r-- | svr-session.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svr-session.c b/svr-session.c index da49e1a..2a6bc66 100644 --- a/svr-session.c +++ b/svr-session.c @@ -138,21 +138,21 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) { if (!sessinitdone) { /* before session init */ snprintf(fmtbuf, sizeof(fmtbuf), - "premature exit: %s", format); + "Premature exit: %s", format); } else if (ses.authstate.authdone) { /* user has authenticated */ snprintf(fmtbuf, sizeof(fmtbuf), - "exit after auth (%s): %s", + "Exit (%s): %s", ses.authstate.pw_name, format); } else if (ses.authstate.pw_name) { /* we have a potential user */ snprintf(fmtbuf, sizeof(fmtbuf), - "exit before auth (user '%s', %d fails): %s", + "Exit before auth (user '%s', %d fails): %s", ses.authstate.pw_name, ses.authstate.failcount, format); } else { /* before userauth */ snprintf(fmtbuf, sizeof(fmtbuf), - "exit before auth: %s", format); + "Exit before auth: %s", format); } _dropbear_log(LOG_INFO, fmtbuf, param); |