Mercurial > dropbear
comparison cli-main.c @ 594:a98a2138364a
Improve capitalisation for all logged strings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 23 Feb 2011 15:50:30 +0000 |
parents | 005530560594 |
children | 00eca37e47e8 |
comparison
equal
deleted
inserted
replaced
593:ea103e4476ce | 594:a98a2138364a |
---|---|
86 static void cli_dropbear_exit(int exitcode, const char* format, va_list param) { | 86 static void cli_dropbear_exit(int exitcode, const char* format, va_list param) { |
87 | 87 |
88 char fmtbuf[300]; | 88 char fmtbuf[300]; |
89 | 89 |
90 if (!sessinitdone) { | 90 if (!sessinitdone) { |
91 snprintf(fmtbuf, sizeof(fmtbuf), "exited: %s", | 91 snprintf(fmtbuf, sizeof(fmtbuf), "Exited: %s", |
92 format); | 92 format); |
93 } else { | 93 } else { |
94 snprintf(fmtbuf, sizeof(fmtbuf), | 94 snprintf(fmtbuf, sizeof(fmtbuf), |
95 "connection to %s@%s:%s exited: %s", | 95 "Connection to %s@%s:%s exited: %s", |
96 cli_opts.username, cli_opts.remotehost, | 96 cli_opts.username, cli_opts.remotehost, |
97 cli_opts.remoteport, format); | 97 cli_opts.remoteport, format); |
98 } | 98 } |
99 | 99 |
100 /* Do the cleanup first, since then the terminal will be reset */ | 100 /* Do the cleanup first, since then the terminal will be reset */ |