diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-05-24 14:16:13 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-05-24 14:16:13 +0200 |
commit | 1a9fe7b590091591686c46ddde4646be7178f76f (patch) | |
tree | a7df13a12d0af143c95049192d85f91180271ca5 /src | |
parent | f93c7ebe6d16d869a36b352dbc44719b2194b80b (diff) | |
download | weechat-1a9fe7b590091591686c46ddde4646be7178f76f.zip |
core: fix compilation error when gnutls is not found
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-network.c | 3 |
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; |