aboutsummaryrefslogtreecommitdiff
path: root/lib/parse_ini.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2007-02-07 14:46:50 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2007-02-07 14:46:50 +0000
commit88ff55667012171c688471eaa84d16311018ec9c (patch)
treeeb9dffa003f14fceed03241128e7872398559865 /lib/parse_ini.c
parentc391272975965ded901818c73abc492e1e354acb (diff)
downloadmonitoring-plugins-88ff55667012171c688471eaa84d16311018ec9c.tar.gz
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
Diffstat (limited to 'lib/parse_ini.c')
-rw-r--r--lib/parse_ini.c9
1 files changed, 0 insertions, 9 deletions
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;
-}