From: divverent Date: Fri, 10 Apr 2009 20:16:39 +0000 (+0000) Subject: don't print "empty file" spam here X-Git-Tag: xonotic-v0.1.0preview~1712 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=29ce56ba27fddfa84b758ced78a0f657f77281f9;p=xonotic%2Fdarkplaces.git don't print "empty file" spam here git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8898 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/libcurl.c b/libcurl.c index 4eac714a..f7947b37 100644 --- a/libcurl.c +++ b/libcurl.c @@ -482,7 +482,7 @@ static void Curl_EndDownload(downloadinfo *di, CurlStatus status, CURLcode error qcurl_easy_cleanup(di->curle); } - if(ok && !di->bytes_received) + if(!di->callback && ok && !di->bytes_received) { Con_Printf("ERROR: empty file\n"); ok = false;