summaryrefslogtreecommitdiff
path: root/rfc
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2016-04-27 21:02:37 +0200
committerDmitry Kozlov <xeb@mail.ru>2016-04-28 11:16:05 +0300
commit16449c4f4972ffad500951db5c71403cae0422e7 (patch)
treea7987a14e41bd5cceac9e82a7fa990b31015e257 /rfc
parent7de0d2d00be552dede15dfd02c9e423dda7eb6f5 (diff)
downloadaccel-ppp-16449c4f4972ffad500951db5c71403cae0422e7.tar.gz
accel-ppp-16449c4f4972ffad500951db5c71403cae0422e7.zip
cli: fix partial line duplication and truncation
When queueing output data for later write(), the 'n' first bytes of the buffer have already been sent (we have n > 0 if EAGAIN was returned after some other write() calls succeeded). Therefore, we need to skip these bytes when initialising the buffer to be queued. The size passed to memcpy() did already take that space into account. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'rfc')
0 files changed, 0 insertions, 0 deletions