diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-05-01 20:12:03 (GMT) |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-05-01 20:12:03 (GMT) |
commit | 1cd64d081d1745436dd7c41826dfb05672dd26aa (patch) | |
tree | ada88d06239ac42dc15db353c15e6186a5a82fcc /plugins/popen.h | |
parent | 205dda8d6e2922661cd4c33c94cb42739b397920 (diff) | |
download | monitoring-plugins-1cd64d081d1745436dd7c41826dfb05672dd26aa.tar.gz |
better error checking in spopen signal handler (see 1107524)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1169 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/popen.h')
-rw-r--r-- | plugins/popen.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/popen.h b/plugins/popen.h index 1f4e413..c2a79df 100644 --- a/plugins/popen.h +++ b/plugins/popen.h | |||
@@ -9,7 +9,7 @@ int spclose (FILE *); | |||
9 | RETSIGTYPE popen_timeout_alarm_handler (int); | 9 | RETSIGTYPE popen_timeout_alarm_handler (int); |
10 | 10 | ||
11 | extern unsigned int timeout_interval; | 11 | extern unsigned int timeout_interval; |
12 | pid_t *childpid; | 12 | pid_t *childpid=NULL; |
13 | int *child_stderr_array; | 13 | int *child_stderr_array=NULL; |
14 | FILE *child_process; | 14 | FILE *child_process=NULL; |
15 | FILE *child_stderr; | 15 | FILE *child_stderr=NULL; |