comparison scp.c @ 1049:01eea88963f3 fastopen

merge from default
author Matt Johnston <matt@ucc.asn.au>
date Sat, 28 Feb 2015 09:06:40 +0800
parents 7c899f24a85b
children 2dee3eef5344
comparison
equal deleted inserted replaced
1048:9cec9ed503bb 1049:01eea88963f3
435 verifydir(argv[argc - 1]); 435 verifydir(argv[argc - 1]);
436 tolocal(argc, argv); /* Dest is local host. */ 436 tolocal(argc, argv); /* Dest is local host. */
437 } 437 }
438 /* 438 /*
439 * Finally check the exit status of the ssh process, if one was forked 439 * Finally check the exit status of the ssh process, if one was forked
440 * and no error has occured yet 440 * and no error has occurred yet
441 */ 441 */
442 if (do_cmd_pid != -1 && errs == 0) { 442 if (do_cmd_pid != -1 && errs == 0) {
443 if (remin != -1) 443 if (remin != -1)
444 (void) close(remin); 444 (void) close(remin);
445 if (remout != -1) 445 if (remout != -1)