From 15f832d1c2c14327b971cacc200d48fce3077043 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 9 Jan 2008 19:11:56 +0000 Subject: fix compiler warning --- lib/transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/transfer.c') diff --git a/lib/transfer.c b/lib/transfer.c index 5b391318a..716094b2f 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2007, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2008, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -137,7 +137,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp) else if(nread == CURL_READFUNC_PAUSE) { struct SingleRequest *k = &data->req; k->keepon |= KEEP_READ_PAUSE; /* mark reading as paused */ - return 0; /* nothing was read */ + return CURLE_OK; /* nothing was read */ } else if((size_t)nread > buffersize) /* the read function returned a too large value */ -- cgit v1.2.3