diff options
author | Harald Welte <laforge@gnumonks.org> | 2001-09-13 12:59:28 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2001-09-13 12:59:28 +0000 |
commit | 7a7cc2808efc409711f5fa36be097aec0b2ebca3 (patch) | |
tree | 9ae3c2ff146276f6141de2bcc93e56ecc0f6cf04 /extensions | |
parent | 670a686db18ebf41cc1454c0c521d2424cd93bbe (diff) |
another string_to_number fix
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libip6t_LOG.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_LOG.c b/extensions/libip6t_LOG.c index ef39c98d..aece4329 100644 --- a/extensions/libip6t_LOG.c +++ b/extensions/libip6t_LOG.c @@ -66,9 +66,9 @@ static struct ip6t_log_names ip6t_log_names[] static u_int8_t parse_level(const char *level) { - unsigned int lev; + unsigned int lev = -1; - if (string_to_number(level, 0, 7, lev) == -1) { + if (string_to_number(level, 0, 7, &lev) == -1) { unsigned int i = 0; for (i = 0; |