putting back into dist

This commit is contained in:
Marty Kuhrt 2005-12-30 00:07:25 +00:00
parent 86becc7591
commit b11dec5dd5
2 changed files with 4 additions and 4 deletions

View File

@ -230,11 +230,11 @@ static CURLcode file_upload(struct connectdata *conn)
if(res) if(res)
break; break;
nread = (size_t)readcount; if (readcount <= 0)
if (nread <= 0)
break; break;
nread = (size_t)readcount;
/* write the data to the target */ /* write the data to the target */
nwrite = fwrite(buf, 1, nread, fp); nwrite = fwrite(buf, 1, nread, fp);
if(nwrite != nread) { if(nwrite != nread) {

View File

@ -391,7 +391,7 @@ static time_t Curl_parsedate(const char *date)
t = mktime(&tm); t = mktime(&tm);
/* time zone adjust */ /* time zone adjust */
if(-1 != t) { if(-1 != (int)t) {
struct tm *gmt; struct tm *gmt;
long delta; long delta;
time_t t2; time_t t2;