char tmp_line[512];
char ip[sizeof("123.123.123.123")];
unsigned short portno;
- char *scratch, *hoststart = NULL;
+ char *hoststart = NULL;
int result, use_ssl, use_ssl_on_data=0;
php_stream *reuseid=NULL;
size_t file_size = 0;
static inline char *parse_ip_address(php_stream_xport_param *xparam, int *portno TSRMLS_DC)
{
char *colon;
- char *p, *host = NULL;
+ char *host = NULL;
#ifdef HAVE_IPV6
+ char *p;
+
if (*(xparam->inputs.name) == '[') {
/* IPV6 notation to specify raw address with port (i.e. [fe80::1]:80) */
p = memchr(xparam->inputs.name + 1, ']', xparam->inputs.namelen - 2);