comparison scp.c @ 1046:b8f4b7027191 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Feb 2015 22:48:34 +0800
parents 7c899f24a85b
children 2dee3eef5344
comparison
equal deleted inserted replaced
1014:37c510c2ac7c 1046:b8f4b7027191
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)