Commit b11dec5d authored by Marty Kuhrt's avatar Marty Kuhrt
Browse files

putting back into dist

parent 86becc75
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -230,11 +230,11 @@ static CURLcode file_upload(struct connectdata *conn)
    if(res)
      break;

    nread = (size_t)readcount;

    if (nread <= 0)
    if (readcount <= 0)
      break;

    nread = (size_t)readcount;

    /* write the data to the target */
    nwrite = fwrite(buf, 1, nread, fp);
    if(nwrite != nread) {
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ static time_t Curl_parsedate(const char *date)
  t = mktime(&tm);

  /* time zone adjust */
  if(-1 != t) {
  if(-1 != (int)t) {
    struct tm *gmt;
    long delta;
    time_t t2;