From fcae68c3a52994779ecfda485669b7dcbec8db39 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Fri, 16 Jun 2006 06:57:19 +0000 Subject: [PATCH] Fix crash on unknown config options --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 2a11ac78..a0beda96 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1119,7 +1119,7 @@ int conf_set_string(char *section, char *key, char *value, int verify) { } } else { /* we have the item, let's update it */ - if((key_type == CONF_T_MULTICOMMA) || (key_type = CONF_T_MULTIPATH)) { + if((key_type == CONF_T_MULTICOMMA) || (key_type == CONF_T_MULTIPATH)) { /* delete whatever is there, then add from commas */ ll_destroy(pitem->value.as_ll); if(ll_create(&pitem->value.as_ll) != LL_E_SUCCESS) {