summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-10-18 18:04:03 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-10-18 18:04:03 +0000
commita859565412f9108640ec5dd5506be5b72161f926 (patch)
tree5aea8f2184b8690f7df26c141ea3b38b3f0efec0 /usr.bin/ssh
parentecb9e9ea16aef67d820ec42fce310cf41498e07d (diff)
undo
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/atomicio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/atomicio.c b/usr.bin/ssh/atomicio.c
index 98edfa67d09..744ccc7a50f 100644
--- a/usr.bin/ssh/atomicio.c
+++ b/usr.bin/ssh/atomicio.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: atomicio.c,v 1.6 2000/10/17 20:28:10 markus Exp $");
+RCSID("$OpenBSD: atomicio.c,v 1.7 2000/10/18 18:04:02 markus Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -49,7 +49,7 @@ atomicio(f, fd, _s, n)
if (errno == EINTR || errno == EAGAIN)
continue;
case 0:
- return (pos);
+ return (res);
default:
pos += res;
}