SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
net/crawl/patches/patch-crawl_c
Normal file
13
net/crawl/patches/patch-crawl_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- crawl.c.orig Sun May 18 03:26:41 2003
|
||||
+++ crawl.c Sat May 22 16:42:06 2010
|
||||
@@ -167,8 +167,8 @@ image_saver(struct uri *uri)
|
||||
return (-1);
|
||||
|
||||
if (uri->length != -1 && uri->bdlen != uri->length) {
|
||||
- snprintf(tmp, sizeof(tmp), " (%4.1f%%/%d)",
|
||||
- (float)uri->bdlen/uri->length*100, uri->length);
|
||||
+ snprintf(tmp, sizeof(tmp), " (%4.1f%%/%ld)",
|
||||
+ (float)uri->bdlen/uri->length*100, (long)uri->length);
|
||||
p = tmp;
|
||||
}
|
||||
fprintf(stdout, "%s %s%s\n",
|
Loading…
Add table
Add a link
Reference in a new issue