Imported Upstream version 1.4.16+git20130911

This commit is contained in:
Jan Wagner 2013-11-27 00:00:34 +01:00
parent 96678a79c9
commit ea90af2ba1
20 changed files with 379 additions and 383 deletions

View file

@ -27,6 +27,7 @@
#include "common.h"
#include <stdarg.h>
#include "utils_base.h"
#include <ctype.h>
#include <fcntl.h>
#include <sys/stat.h>
@ -34,6 +35,8 @@
nagios_plugin *this_nagios_plugin=NULL;
int _np_state_read_file(FILE *);
void np_init( char *plugin_name, int argc, char **argv ) {
if (this_nagios_plugin==NULL) {
this_nagios_plugin = calloc(1, sizeof(nagios_plugin));