summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authormouring <mouring>2001-08-06 21:17:12 +0000
committermouring <mouring>2001-08-06 21:17:12 +0000
commitd13208d89b322094294b25cb91652015b4e76131 (patch)
treee87b11cead3d3b2e912cf18e550465396b917444 /scp.c
parent2b6deba5459d8192b5114300eef6aedaf3d0f36c (diff)
downloadopenssh-d13208d89b322094294b25cb91652015b4e76131.tar.gz
- deraadt@cvs.openbsd.org 2001/07/27 17:26:16
[scp.c] shorten lines
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/scp.c b/scp.c
index daa3f990..71fa299d 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: scp.c,v 1.77 2001/07/18 16:45:52 mouring Exp $");
+RCSID("$OpenBSD: scp.c,v 1.78 2001/07/27 17:26:16 deraadt Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@@ -143,8 +143,10 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc)
int pin[2], pout[2], reserved[2];
if (verbose_mode)
- fprintf(stderr, "Executing: program %s host %s, user %s, command %s\n",
- ssh_program, host, remuser ? remuser : "(unspecified)", cmd);
+ fprintf(stderr,
+ "Executing: program %s host %s, user %s, command %s\n",
+ ssh_program, host,
+ remuser ? remuser : "(unspecified)", cmd);
/*
* Reserve two descriptors so that the real pipes won't get
@@ -830,7 +832,8 @@ bad: run_err("%s: %s", np, strerror(errno));
count += amt;
do {
j = read(remin, cp, amt);
- if (j == -1 && (errno == EINTR || errno == EAGAIN)) {
+ if (j == -1 && (errno == EINTR ||
+ errno == EAGAIN)) {
continue;
} else if (j <= 0) {
run_err("%s", j ? strerror(errno) :