From 89e80994af4fa43d8d0db583f4f2e91e3b35bfdb Mon Sep 17 00:00:00 2001 From: Evgeniy Kozhuhovskiy Date: Sun, 5 Feb 2006 22:05:40 +0000 Subject: [PATCH] see changelog --- debian/rules | 2 +- source/ChangeLog | 4 ++++ source/bforce/daemon_call.c | 3 ++- source/bforce/logger.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 90c90af..7d065c8 100755 --- a/debian/rules +++ b/debian/rules @@ -28,7 +28,7 @@ configure-stamp: # cat $(CURDIR)/source/Makefile.in | sed 's/\(^INSTALL_.*\)-o \$${OWNER} -g \$${GROUP}/\1/' > \ # $(CURDIR)/source/Makefile.in.new # mv $(CURDIR)/source/Makefile.in.new $(CURDIR)/source/Makefile.in - cd source; ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc/bforce -with-user=$(USER) --with-group=$(GROUP) --disable-syslog --disable-log-passwd + cd source; ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc/bforce -with-user=$(USER) --with-group=$(GROUP) --disable-log-passwd touch configure-stamp diff --git a/source/ChangeLog b/source/ChangeLog index 259d64f..5fa33cd 100644 --- a/source/ChangeLog +++ b/source/ChangeLog @@ -1,3 +1,7 @@ +2006-02-05 Evgeniy Kozhuhovskiy + + * bforce/logger.c: trying to fix broken syslog. + 2006-01-04 Evgeniy Kozhuhovskiy * bforce/daemon_call.c (daemon_call_branch): if phone == diff --git a/source/bforce/daemon_call.c b/source/bforce/daemon_call.c index e45a801..8949e80 100644 --- a/source/bforce/daemon_call.c +++ b/source/bforce/daemon_call.c @@ -93,7 +93,8 @@ static int daemon_call_branch(s_sysentry *syst, const char *lockdir, s_modemport setproctitle("bforce calling %s, %s", ftn_addrstr(abuf, state.node.addr), state.node.phone); - if( ( syst->tcpip ) || (strcmp(state.node.phone,NO_PSTN_PHONE)) ) +/* if( ( syst->tcpip ) || (strcmp(state.node.phone,NO_PSTN_PHONE)== 0) ) */ + if( syst->tcpip ) { rc = call_system_tcpip(); } diff --git a/source/bforce/logger.c b/source/bforce/logger.c index ff6a076..fcd3300 100644 --- a/source/bforce/logger.c +++ b/source/bforce/logger.c @@ -292,7 +292,7 @@ int logerr(const char *s, ...) const char *log_getfilename(int whatfor) { - const char *p = NULL; + const char *p = "/dev/null"; return p; }