summaryrefslogtreecommitdiffhomepage
path: root/process-packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-02-23 15:50:30 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-02-23 15:50:30 +0000
commit38ed870ffeea569f6da1e615685147a84f231cf3 (patch)
treecc0c3378b7e231df6b44c881d10235c313478a60 /process-packet.c
parent1e4ed404c500c4bf01300a9efe7e2fb329dc3b02 (diff)
Improve capitalisation for all logged strings
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/process-packet.c b/process-packet.c
index b5125ba..2ae410d 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -65,7 +65,7 @@ void process_packet() {
case SSH_MSG_UNIMPLEMENTED:
/* debugging XXX */
TRACE(("SSH_MSG_UNIMPLEMENTED"))
- dropbear_exit("received SSH_MSG_UNIMPLEMENTED");
+ dropbear_exit("Received SSH_MSG_UNIMPLEMENTED");
case SSH_MSG_DISCONNECT:
/* TODO cleanup? */
@@ -77,7 +77,7 @@ void process_packet() {
if (ses.requirenext != 0) {
if (ses.requirenext != type) {
/* TODO send disconnect? */
- dropbear_exit("unexpected packet type %d, expected %d", type,
+ dropbear_exit("Unexpected packet type %d, expected %d", type,
ses.requirenext);
} else {
/* Got what we expected */
@@ -99,7 +99,7 @@ void process_packet() {
* NOTE: if the protocol changes and new types are added, revisit this
* assumption */
if ( !ses.authstate.authdone && type > MAX_UNAUTH_PACKET_TYPE ) {
- dropbear_exit("received message %d before userauth", type);
+ dropbear_exit("Received message %d before userauth", type);
}
for (i = 0; ; i++) {