summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/wee-network.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/wee-network.c b/src/core/wee-network.c
index b6583bfbc..a15eea8b2 100644
--- a/src/core/wee-network.c
+++ b/src/core/wee-network.c
@@ -1534,14 +1534,13 @@ network_connect_child_read_cb (void *arg_hook_connect, int fd)
void
network_connect_with_fork (struct t_hook *hook_connect)
{
- int child_pipe[2];
+ int child_pipe[2], rc;
#ifdef HOOK_CONNECT_MAX_SOCKETS
int i;
#else
int child_socket[2];
#endif
#ifdef HAVE_GNUTLS
- int rc;
const char *pos_error;
#endif
pid_t pid;