summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/atomicio.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/atomicio.c')
-rw-r--r--crypto/openssh/atomicio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/openssh/atomicio.c b/crypto/openssh/atomicio.c
index 01c1f62..668d490 100644
--- a/crypto/openssh/atomicio.c
+++ b/crypto/openssh/atomicio.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$Id: atomicio.c,v 1.2 2000/02/01 22:32:53 d Exp $");
+RCSID("$Id: atomicio.c,v 1.3 2000/03/16 20:56:13 markus Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -33,12 +33,13 @@ RCSID("$Id: atomicio.c,v 1.2 2000/02/01 22:32:53 d Exp $");
* ensure all of data on socket comes through. f==read || f==write
*/
ssize_t
-atomicio(f, fd, s, n)
+atomicio(f, fd, _s, n)
ssize_t (*f) ();
int fd;
- void *s;
+ void *_s;
size_t n;
{
+ char *s = _s;
ssize_t res, pos = 0;
while (n > pos) {
OpenPOWER on IntegriCloud