comparison scp.c @ 179:161557a9dde8

* fix longstanding bug with connections being closed on failure to connect to auth socket (server) * differentiate between get_byte and get_bool * get rid of some // comments * general tidying
author Matt Johnston <matt@ucc.asn.au>
date Sun, 13 Mar 2005 13:58:14 +0000
parents 68b84c20ca1e
children 02a80ce2ead4 740e782679be
comparison
equal deleted inserted replaced
178:058cc7892636 179:161557a9dde8
241 int ch, fflag, tflag, status; 241 int ch, fflag, tflag, status;
242 double speed; 242 double speed;
243 char *targ, *endp; 243 char *targ, *endp;
244 extern char *optarg; 244 extern char *optarg;
245 extern int optind; 245 extern int optind;
246
247 /* hack, seems to work */
248 // __progname = argv[0];
249 246
250 args.list = NULL; 247 args.list = NULL;
251 addargs(&args, "ssh"); /* overwritten with ssh_program */ 248 addargs(&args, "ssh"); /* overwritten with ssh_program */
252 addargs(&args, "-x"); 249 addargs(&args, "-x");
253 addargs(&args, "-oForwardAgent no"); 250 addargs(&args, "-oForwardAgent no");