Mercurial > dropbear
comparison cli-session.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 | 00bc3df3a9c3 |
children | 70811267715c 09c5eb71ec96 |
comparison
equal
deleted
inserted
replaced
730:714b9106e335 | 731:9a5438271556 |
---|---|
170 | 170 |
171 /* This function drives the progress of the session - it initiates KEX, | 171 /* This function drives the progress of the session - it initiates KEX, |
172 * service, userauth and channel requests */ | 172 * service, userauth and channel requests */ |
173 static void cli_sessionloop() { | 173 static void cli_sessionloop() { |
174 | 174 |
175 TRACE(("enter cli_sessionloop")) | 175 TRACE2(("enter cli_sessionloop")) |
176 | 176 |
177 if (ses.lastpacket == SSH_MSG_KEXINIT && cli_ses.kex_state == KEX_NOTHING) { | 177 if (ses.lastpacket == SSH_MSG_KEXINIT && cli_ses.kex_state == KEX_NOTHING) { |
178 cli_ses.kex_state = KEXINIT_RCVD; | 178 cli_ses.kex_state = KEXINIT_RCVD; |
179 } | 179 } |
180 | 180 |
284 | 284 |
285 default: | 285 default: |
286 break; | 286 break; |
287 } | 287 } |
288 | 288 |
289 TRACE(("leave cli_sessionloop: fell out")) | 289 TRACE2(("leave cli_sessionloop: fell out")) |
290 | 290 |
291 } | 291 } |
292 | 292 |
293 void cli_session_cleanup() { | 293 void cli_session_cleanup() { |
294 | 294 |