Module: sip-router Branch: andrei/cdefs2doc Commit: 697d44307b291e85bdf6bd0955e2d51a8b6dbbef URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=697d4430...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Mon Oct 19 18:01:51 2009 +0200
ctl: missing ifdef (minor)
- missing ifdef USE_FIFO prevented compilation without fifo support.
---
modules/ctl/ctl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/ctl/ctl.c b/modules/ctl/ctl.c index 5faec97..8e50e51 100644 --- a/modules/ctl/ctl.c +++ b/modules/ctl/ctl.c @@ -250,11 +250,13 @@ static int mod_init(void) payload_proto_name(l->data_proto), l->name, l->port?l->port:DEFAULT_CTL_PORT); break; +#ifdef USE_FIFO case FIFO_SOCK: DBG(" [%s:fifo] %s\n", payload_proto_name(l->data_proto), l->name); fd_no++; /* fifos use 2 fds */ break; +#endif default: LOG(L_CRIT, "BUG: ctrl: listen protocol %d not supported\n", l->proto);