Mercurial > ~mikael > mcabber > hg
diff mcabber/src/jabglue.c @ 1448:844410b9b4cc
Remove configure option --enable-fifo
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 27 Mar 2008 23:27:19 +0100 |
parents | 49c8be874344 |
children | 77afd831f8f7 |
line wrap: on
line diff
--- a/mcabber/src/jabglue.c Fri Mar 21 19:49:27 2008 +0100 +++ b/mcabber/src/jabglue.c Thu Mar 27 23:27:19 2008 +0100 @@ -34,10 +34,7 @@ #include "commands.h" #include "pgp.h" #include "otr.h" - -#ifdef ENABLE_FIFO -# include "fifo.h" -#endif +#include "fifo.h" #define JABBERPORT 5222 #define JABBERSSLPORT 5223 @@ -236,9 +233,7 @@ struct timeval tv; static time_t last_eviqs_check = 0L; int maxfd = 0; -#ifdef ENABLE_FIFO int fifofd; -#endif FD_ZERO(&fds); FD_SET(0, &fds); @@ -247,13 +242,11 @@ maxfd = jc->fd; } -#ifdef ENABLE_FIFO fifofd = fifo_get_fd(); if (fifofd > 0) { FD_SET(fifofd, &fds); maxfd = MAX(maxfd, fifofd); } -#endif tv.tv_sec = 60; tv.tv_usec = 0;