* check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT (prov... (#1324)

Oliver Skibbe notifications at github.com
Thu Mar 5 12:16:24 CET 2015


As noted in issue #1318 there's an inconsistency between help function (uses
constanct DEFAULT_SOCKET_TIMEOUT from utils.h) and actual code (uses
DEFAULT_TIMEOUT constant)

So i removed DEFAULT_TIMEOUT and added DEFAULT_SOCKET_TIMEOUT to
timeout_interval

You can view, comment on, or merge this pull request online at:

  https://github.com/monitoring-plugins/monitoring-plugins/pull/1324

-- Commit Summary --

  * * check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT
  (provided by utils.h), already used by help description, see issue #1318

-- File Changes --

    M plugins/check_snmp.c (3)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.diff

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20150305/4f7f5489/attachment.html>


More information about the Devel mailing list