12 lines
352 B
Diff
12 lines
352 B
Diff
|
--- conn.c 2009-04-27 16:19:03.000000000 +0200
|
||
|
+++ conn.c 2017-04-12 15:58:37.838976530 +0200
|
||
|
@@ -326,7 +326,7 @@
|
||
|
break;
|
||
|
if( ( t = http_header( conn->http, "location:" ) ) == NULL )
|
||
|
return( 0 );
|
||
|
- sscanf( t, "%255s", s );
|
||
|
+ sscanf( t, "%1024", s );
|
||
|
if( strstr( s, "://" ) == NULL)
|
||
|
{
|
||
|
sprintf( conn->http->headers, "%s%s",
|