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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user