1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

core: fix compilation error when gnutls is not found

This commit is contained in:
Sebastien Helleu
2013-05-24 14:16:13 +02:00
parent f93c7ebe6d
commit 1a9fe7b590
+1 -2
View File
@@ -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;