diff options
author | Holger Weiss <hweiss@users.sourceforge.net> | 2007-04-23 07:30:47 +0000 |
---|---|---|
committer | Holger Weiss <hweiss@users.sourceforge.net> | 2007-04-23 07:30:47 +0000 |
commit | 27a624dd9f929af1330be508762057fa4fa8a0f5 (patch) | |
tree | b672a0aa8f7d010dbc1f95cff3feb39504c4c6bf /plugins | |
parent | f100554212a20a2065cd0cbc395d5fb2eec6e715 (diff) | |
download | monitoring-plugins-27a624dd9f929af1330be508762057fa4fa8a0f5.tar.gz |
#ifdef can only test a single macro, not an expression.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1699 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 211f74ef..bf726d82 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -105,7 +105,7 @@ main (int argc, char **argv) /* If ./configure finds ping has timeout values, set plugin alarm slightly * higher so that we can use response from command line ping */ -#ifdef PING_PACKETS_FIRST && PING_HAS_TIMEOUT +#if defined(PING_PACKETS_FIRST) && defined(PING_HAS_TIMEOUT) alarm (timeout_interval + 1); #else alarm (timeout_interval); |