Lines 1-14
Link Here
|
1 |
|
|
|
2 |
$FreeBSD: ports/ftp/axel/files/patch-conn.c,v 1.3 2005/04/17 15:12:00 naddy Exp $ |
3 |
|
4 |
--- conn.c.orig |
5 |
+++ conn.c |
6 |
@@ -321,7 +321,7 @@ |
7 |
break; |
8 |
if( ( t = http_header( conn->http, "location:" ) ) == NULL ) |
9 |
return( 0 ); |
10 |
- sscanf( t, "%s", s ); |
11 |
+ sscanf( t, "%255s", s ); |
12 |
if( strstr( s, "://" ) == NULL) |
13 |
{ |
14 |
sprintf( conn->http->headers, "%s%s", |