mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
parent
c2958dfa9b
commit
5b1654593e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410258
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= curl
|
||||
PORTVERSION= 7.47.0
|
||||
PORTVERSION= 7.47.1
|
||||
CATEGORIES= ftp www
|
||||
MASTER_SITES= http://curl.haxx.se/download/ \
|
||||
LOCAL/sunpoet
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (curl-7.47.0.tar.lzma) = f7789a806fef4e24ec3d4b70ca86ff145243bf19d03ab0eb5c64f18f1b2748d8
|
||||
SIZE (curl-7.47.0.tar.lzma) = 2878783
|
||||
SHA256 (curl-7.47.1.tar.lzma) = c9b2fd75417ff0a1d0cd1bb284d1d8d7a08963f945860c987d59ae0eb412aa01
|
||||
SIZE (curl-7.47.1.tar.lzma) = 2875509
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- docs/examples/getredirect.c.orig 2016-01-30 11:01:12 UTC
|
||||
+++ docs/examples/getredirect.c
|
||||
@@ -48,7 +48,7 @@ int main(void)
|
||||
else {
|
||||
res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code);
|
||||
if((res == CURLE_OK) &&
|
||||
- ((code / 100) != 3)) {
|
||||
+ ((response_code / 100) != 3)) {
|
||||
/* a redirect implies a 3xx response code */
|
||||
fprintf(stderr, "Not a redirect.\n");
|
||||
}
|
Loading…
Reference in New Issue
Block a user