projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc625f
)
When receiving data, only pass up to the backend as much as we received.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 15:46:33 +0000
(15:46 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 15:46:33 +0000
(15:46 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2572
cda61777
-01e9-0310-a592-
d414129be87e
mac/otnet.c
patch
|
blob
|
blame
|
history
diff --git
a/mac/otnet.c
b/mac/otnet.c
index
baa7a8a
..
282141f
100644
(file)
--- a/
mac/otnet.c
+++ b/
mac/otnet.c
@@
-467,7
+467,7
@@
void ot_recv(Actual_Socket s)
do {
o = OTRcv(s->ep, buf, sizeof(buf), &flags);
if (o > 0)
- plug_receive(s->plug, 0, buf,
sizeof(buf)
);
+ plug_receive(s->plug, 0, buf,
o
);
if (o < 0 && o != kOTNoDataErr)
plug_closing(s->plug, NULL, 0, 0); /* XXX Error msg */
} while (o > 0);