Mercurial > dropbear
comparison process-packet.c @ 731:9a5438271556
Move the more verbose TRACE() statements into TRACE2()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 01 Apr 2013 00:07:26 +0800 |
parents | a98a2138364a |
children | 685d05f1cc5c |
comparison
equal
deleted
inserted
replaced
730:714b9106e335 | 731:9a5438271556 |
---|---|
43 void process_packet() { | 43 void process_packet() { |
44 | 44 |
45 unsigned char type; | 45 unsigned char type; |
46 unsigned int i; | 46 unsigned int i; |
47 | 47 |
48 TRACE(("enter process_packet")) | 48 TRACE2(("enter process_packet")) |
49 | 49 |
50 type = buf_getbyte(ses.payload); | 50 type = buf_getbyte(ses.payload); |
51 TRACE(("process_packet: packet type = %d", type)) | 51 TRACE(("process_packet: packet type = %d", type)) |
52 | 52 |
53 ses.lastpacket = type; | 53 ses.lastpacket = type; |
121 | 121 |
122 out: | 122 out: |
123 buf_free(ses.payload); | 123 buf_free(ses.payload); |
124 ses.payload = NULL; | 124 ses.payload = NULL; |
125 | 125 |
126 TRACE(("leave process_packet")) | 126 TRACE2(("leave process_packet")) |
127 } | 127 } |
128 | 128 |
129 | 129 |
130 | 130 |
131 /* This must be called directly after receiving the unimplemented packet. | 131 /* This must be called directly after receiving the unimplemented packet. |