]> granicus.if.org Git - curl/commitdiff
fixed the printf formatting after I changed the type of 'excess'
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Dec 2006 15:33:06 +0000 (15:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Dec 2006 15:33:06 +0000 (15:33 +0000)
lib/transfer.c

index da770ca8acc9e6c445664baeae5a22df63a42d40..4a37244f15d64fd2e6d2d6fe04e7c9e0b76ff9ff 100644 (file)
@@ -1179,7 +1179,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
             size_t excess = k->bytecount + nread - k->maxdownload;
             if (excess > 0 && !k->ignorebody) {
               infof(data,
-                    "Rewinding stream by : %" FORMAT_OFF_T
+                    "Rewinding stream by : %d"
                     " bytes on url %s (size = %" FORMAT_OFF_T
                     ", maxdownload = %" FORMAT_OFF_T
                     ", bytecount = %" FORMAT_OFF_T ", nread = %d)\n",