- @@ -107,12 +109,12 @@
- {
- struct scd *conn = g_new0( struct scd, 1 );
- + conn->func = func;
- + conn->data = data;
- + conn->inpa = -1;
- + conn->hostname = g_strdup( host );
- + conn->verify = verify && global.conf->cafile;
- conn->fd = proxy_connect( host, port, ssl_connected, conn );
- - conn->func = func;
- - conn->data = data;
- - conn->inpa = -1;
- - conn->hostname = g_strdup( host );
- - conn->verify = verify && global.conf->cafile;
- if( conn->fd < 0 )
- {