1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 03:33:12 +02:00

Fix compilation bug when gnutls dev lib is not installed

This commit is contained in:
Sebastien Helleu
2008-06-02 12:47:27 +02:00
parent bd436db2bc
commit 40ec612e73
3 changed files with 16 additions and 1 deletions
+4 -1
View File
@@ -679,7 +679,10 @@ network_connect_child_read_cb (void *arg_hook_connect)
{
struct t_hook *hook_connect;
char buffer[1];
int num_read, rc;
int num_read;
#ifdef HAVE_GNUTLS
int rc;
#endif
hook_connect = (struct t_hook *)arg_hook_connect;