check_http: Don't let "-N" expect an argument
commitc91ff7539af65f95c2bcef69e5643bd99773c80f
authorHolger Weiss <holger@zedat.fu-berlin.de>
Thu, 5 Dec 2013 19:13:31 +0000 (5 20:13 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Thu, 5 Dec 2013 19:13:31 +0000 (5 20:13 +0100)
treeac57e29d78d33017cfdcc2897798859f3a620630
parent4463a851127d984ec372d64242d9866048eb5e89
check_http: Don't let "-N" expect an argument

Fix the problem that check_http's "-N" option expects an argument
although it shouldn't.  The corresponding long option ("--no-body")
wasn't affected.

This error was introduced in ee3c4014d511e105489b081390636cacd4c53e3f.
Thanks to Kerry Hughes for reporting it on the devel@ list.
plugins/check_http.c