diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-07-22 17:44:15 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-12 12:24:27 -0400 |
commit | e03d9c95b7d93159298e0ff98856ffda4e8bd260 (patch) | |
tree | 3703d4e3fbf1e8c303c344f7eb8eb259e5a61836 /ini/ini_config.h | |
parent | 2addf4c09829a6df40ed2a7f0c9707dd41f56ec3 (diff) | |
download | ding-libs-e03d9c95b7d93159298e0ff98856ffda4e8bd260.tar.gz ding-libs-e03d9c95b7d93159298e0ff98856ffda4e8bd260.tar.xz ding-libs-e03d9c95b7d93159298e0ff98856ffda4e8bd260.zip |
INI Simple fix to properly process multi value config parameters.
Also fixed a typo in the header file.
Diffstat (limited to 'ini/ini_config.h')
-rw-r--r-- | ini/ini_config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ini/ini_config.h b/ini/ini_config.h index 05ab27d..1fee48a 100644 --- a/ini/ini_config.h +++ b/ini/ini_config.h @@ -24,6 +24,7 @@ #define INI_CONFIG_H #include <limits.h> +#include <stdio.h> #include "collection.h" /* Name of the default (missing section in the INI file */ @@ -214,7 +215,7 @@ char *get_bin_config_value(struct collection_item *item, int *length, int *error void free_bin_config_value(char *); /* Array of stings */ -/* Separator sting includes up to three different separators. If NULL comma is assumed. */ +/* Separator string includes up to three different separators. If NULL comma is assumed. */ /* The spaces are trimmed automatically around separators in the string. */ char **get_string_config_array(struct collection_item *item, const char *sep, int *size, int *error); /* Array of long values - separators are detected automatically. */ |