diff options
| author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 08:45:22 +0000 |
|---|---|---|
| committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 08:45:22 +0000 |
| commit | 9d704527496ac715e24bcc844b39125022c0aabc (patch) | |
| tree | 1836106e0cf3df60138c1962284c006476edb733 /plugins/check_pgsql.c | |
| parent | 3ed0c95d2dd9721b62421c291c38ad9a0f8191bd (diff) | |
| download | monitoring-plugins-9d704527496ac715e24bcc844b39125022c0aabc.tar.gz | |
correcting copyright and remaning int result = STATE_UNKNOWN;
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@987 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_pgsql.c')
| -rw-r--r-- | plugins/check_pgsql.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index de76735b..a8e84e23 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
| @@ -121,7 +121,8 @@ Please note that all tags must be lowercase to use the DocBook XML DTD. | |||
| 121 | int | 121 | int |
| 122 | main (int argc, char **argv) | 122 | main (int argc, char **argv) |
| 123 | { | 123 | { |
| 124 | int elapsed_time, status; | 124 | int elapsed_time; |
| 125 | int status = STATE_UNKNOWN; | ||
| 125 | 126 | ||
| 126 | /* begin, by setting the parameters for a backend connection if the | 127 | /* begin, by setting the parameters for a backend connection if the |
| 127 | * parameters are null, then the system will try to use reasonable | 128 | * parameters are null, then the system will try to use reasonable |
