From 88ff55667012171c688471eaa84d16311018ec9c Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 7 Feb 2007 14:46:50 +0000 Subject: Added test files to test the parse_ini.c routines. Requires libtap git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1614 f882894a-f735-0410-b71e-b25c423dba1c --- lib/parse_ini.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/parse_ini.c') diff --git a/lib/parse_ini.c b/lib/parse_ini.c index 5155b6df..b19537c2 100644 --- a/lib/parse_ini.c +++ b/lib/parse_ini.c @@ -236,12 +236,3 @@ static int add_option(FILE *f, char **optbuf, size_t *bufsize){ return 0; } -int main(){ - char *optstr=NULL; - optstr=np_get_defaults("check_foo@./foo.ini", "check_bar"); - if(optstr!=NULL) { - printf("optstr:\n\t%s\n", optstr); - free(optstr); - } - return 0; -} -- cgit v1.2.3