|
|
@@ -1,24 +1,24 @@
|
|
|
/*****************************************************************************
|
|
|
-*
|
|
|
+*
|
|
|
* Nagios-plugins parse_ini library
|
|
|
-*
|
|
|
+*
|
|
|
* License: GPL
|
|
|
* Copyright (c) 2007-2014 Nagios Plugins Development Team
|
|
|
-*
|
|
|
+*
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
* (at your option) any later version.
|
|
|
-*
|
|
|
+*
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
* GNU General Public License for more details.
|
|
|
-*
|
|
|
+*
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
-*
|
|
|
-*
|
|
|
+*
|
|
|
+*
|
|
|
*****************************************************************************/
|
|
|
|
|
|
#include "common.h"
|
|
|
@@ -149,7 +149,7 @@ np_arg_list* np_get_defaults(const char *locator, const char *default_section){
|
|
|
die(STATE_UNKNOWN,"%s%s%s%s'\n", _("Invalid section '"), i.stanza, _("' in config file '"), i.file);
|
|
|
|
|
|
if (inifile != stdin) fclose(inifile);
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
if (i.file != NULL) {
|
|
|
free(i.file);
|