diff options
Diffstat (limited to 'ftp/axel/files/patch-conn.c')
-rw-r--r-- | ftp/axel/files/patch-conn.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ftp/axel/files/patch-conn.c b/ftp/axel/files/patch-conn.c new file mode 100644 index 000000000000..b5d73713eb4f --- /dev/null +++ b/ftp/axel/files/patch-conn.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- conn.c.orig ++++ conn.c +@@ -321,7 +321,7 @@ + break; + if( ( t = http_header( conn->http, "location:" ) ) == NULL ) + return( 0 ); +- sscanf( t, "%s", s ); ++ sscanf( t, "%255s", s ); + if( strstr( s, "://" ) == NULL) + { + sprintf( conn->http->headers, "%s%s", |