From 3aa3d7e6293ae18ed2dd25cbfeddaecfbe6e6c78 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 May 2009 07:53:38 +0000 Subject: 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. --- lib/sendf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sendf.c') 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) -- cgit v1.2.3