diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-02-07 14:46:50 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-02-07 14:46:50 +0000 |
commit | 88ff55667012171c688471eaa84d16311018ec9c (patch) | |
tree | eb9dffa003f14fceed03241128e7872398559865 /lib/parse_ini.c | |
parent | c391272975965ded901818c73abc492e1e354acb (diff) | |
download | monitoring-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.c | 9 |
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){ | |||
236 | return 0; | 236 | return 0; |
237 | } | 237 | } |
238 | 238 | ||
239 | int main(){ | ||
240 | char *optstr=NULL; | ||
241 | optstr=np_get_defaults("check_foo@./foo.ini", "check_bar"); | ||
242 | if(optstr!=NULL) { | ||
243 | printf("optstr:\n\t%s\n", optstr); | ||
244 | free(optstr); | ||
245 | } | ||
246 | return 0; | ||
247 | } | ||