projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10ccfd1
)
Check for valid handle in call to zebra_pidfname
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 5 Sep 2003 12:35:06 +0000
(12:35 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 5 Sep 2003 12:35:06 +0000
(12:35 +0000)
index/zserver.c
patch
|
blob
|
history
diff --git
a/index/zserver.c
b/index/zserver.c
index
8889dad
..
b4d6b89
100644
(file)
--- a/
index/zserver.c
+++ b/
index/zserver.c
@@
-1,4
+1,4
@@
-/* $Id: zserver.c,v 1.110 2003-08-21 10:30:04 adam Exp $
+/* $Id: zserver.c,v 1.111 2003-09-05 12:35:06 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
@@
-702,7
+702,7
@@
static void bend_stop(struct statserv_options_block *sob)
#ifdef WIN32
#else
#ifdef WIN32
#else
- if (!sob->inetd)
+ if (!sob->inetd && sob->handle)
{
char pidfname[4096];
zebra_pidfname(sob->handle, pidfname);
{
char pidfname[4096];
zebra_pidfname(sob->handle, pidfname);