aboutsummaryrefslogtreecommitdiff
path: root/jabberd
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-06-14 11:11:38 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-06-14 11:11:38 +0000
commitf4171631ecd99336b976512b8a46361dcb042a01 (patch)
tree9a12b04be0ec32d377e0e29c82358d250fe77299 /jabberd
parentd6df147646b5330501fba0570a3cb1f593a58aa3 (diff)
downloadgsc-f4171631ecd99336b976512b8a46361dcb042a01.tar.gz
gsc-f4171631ecd99336b976512b8a46361dcb042a01.tar.bz2
(jabberd_status): Bugfix
git-svn-id: file:///svnroot/gsc/trunk@261 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'jabberd')
-rw-r--r--jabberd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jabberd/main.c b/jabberd/main.c
index a206bc9..a327ad6 100644
--- a/jabberd/main.c
+++ b/jabberd/main.c
@@ -955,7 +955,7 @@ jabberd_status ()
logmsg (LOG_INFO, "jabberd is running; PID %lu",
(unsigned long) pid);
- for (i = 0; i < access (statfile, R_OK); i++)
+ for (i = 0; i < 4 && access (statfile, R_OK); i++)
sleep (1);
fp = fopen (statfile, "r");

Return to:

Send suggestions and report system problems to the System administrator.