diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-05-11 07:53:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-05-11 07:53:38 +0000 |
commit | 3aa3d7e6293ae18ed2dd25cbfeddaecfbe6e6c78 (patch) | |
tree | 290930b8925b03b6b9c63d30dfbae20cfacbc1c1 /lib/sendf.c | |
parent | 75585f771a146daa883cd946285eb6a797e62e5e (diff) |
Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and
KEEP_RECV to better match the general terminology: receive and send is what we
do from the (remote) servers. We read and write from and to the local fs.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 0db35783e..0f8ccd33b 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -341,7 +341,7 @@ static CURLcode pausewrite(struct SessionHandle *data, data->state.tempwritetype = type; /* mark the connection as RECV paused */ - k->keepon |= KEEP_READ_PAUSE; + k->keepon |= KEEP_RECV_PAUSE; DEBUGF(infof(data, "Pausing with %d bytes in buffer for type %02x\n", (int)len, type)); @@ -373,7 +373,7 @@ CURLcode Curl_client_write(struct connectdata *conn, /* If reading is actually paused, we're forced to append this chunk of data to the already held data, but only if it is the same type as otherwise it can't work and it'll return error instead. */ - if(data->req.keepon & KEEP_READ_PAUSE) { + if(data->req.keepon & KEEP_RECV_PAUSE) { size_t newlen; char *newptr; if(type != data->state.tempwritetype) |