Mercurial > dropbear
comparison cli-session.c @ 299:740e782679be ucc-axis-hack
Various changes to compile+kind of run on UCC's axis board.
Note that fprintf(stdin -> printf( accounts for many of the changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:57:09 +0000 |
parents | efbaf6b03837 |
children | 973fccb59ea4 |
comparison
equal
deleted
inserted
replaced
266:e37b160c414c | 299:740e782679be |
---|---|
264 | 264 |
265 static void cli_finished() { | 265 static void cli_finished() { |
266 | 266 |
267 cli_session_cleanup(); | 267 cli_session_cleanup(); |
268 common_session_cleanup(); | 268 common_session_cleanup(); |
269 fprintf(stderr, "Connection to %s@%s:%s closed.\n", cli_opts.username, | 269 printf( "Connection to %s@%s:%s closed.\n", cli_opts.username, |
270 cli_opts.remotehost, cli_opts.remoteport); | 270 cli_opts.remotehost, cli_opts.remoteport); |
271 exit(cli_ses.retval); | 271 exit(cli_ses.retval); |
272 } | 272 } |
273 | 273 |
274 | 274 |