- updated process_count() to refelect the unixsock_server
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 3 Mar 2004 08:30:27 +0000 (08:30 +0000)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 3 Mar 2004 08:30:27 +0000 (08:30 +0000)
- changed version number to reflect the same thing

Makefile.defs
pt.h

index 261b0ed..5ef8e99 100644 (file)
@@ -45,7 +45,7 @@ export makefile_defs
 VERSION = 0
 PATCHLEVEL = 8
 SUBLEVEL =   13
-EXTRAVERSION = -dev-23-merged
+EXTRAVERSION = -dev-24-unixsock
 
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 OS = $(shell uname -s | sed -e s/SunOS/solaris/ | tr "[A-Z]" "[a-z]")
diff --git a/pt.h b/pt.h
index 2f14464..05f9e2b 100644 (file)
--- a/pt.h
+++ b/pt.h
@@ -75,6 +75,8 @@ inline static int process_count()
                + (timer_list ? 1 : 0 )
                /* fifo server */
                +((fifo==NULL || strlen(fifo)==0) ? 0 : 1 )
+               /* unixsock server*/
+               +(unixsock_name?unixsock_children:0)
 #ifdef USE_TCP
                +((!tcp_disable)?( 1/* tcp main */ + tcp_children_no + 
                                                        (timer_list ? 0: 1)):0) /* add the timer proc.