summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-03-05 09:16:46 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-03-05 09:16:46 (GMT)
commit013f3f0998c47a99ba497a20ea0322bf0227a41c (patch) (side-by-side diff)
tree5e84f7018444e81e37fe0d96c4ae0c5acd4f88cd /src/main.c
parentf81f5f3320bda3e4d9fffb63afac9fee12450835 (diff)
downloadmailfromd-013f3f0998c47a99ba497a20ea0322bf0227a41c.tar.gz
mailfromd-013f3f0998c47a99ba497a20ea0322bf0227a41c.tar.bz2
Bugfix
* src/main.c (cb_set_variable): Fix argument cast.
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f27a971..5ac3d8f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -727,7 +727,7 @@ cb_set_variable(void *data, mu_config_value_t *arg)
return 1;
}
- if (mu_cfg_assert_value_type(&arg->v.arg.v[0], MU_CFG_ARRAY))
+ if (mu_cfg_assert_value_type(&arg->v.arg.v[0], MU_CFG_STRING))
return 1;
switch (arg->v.arg.v[1].type) {

Return to:

Send suggestions and report system problems to the System administrator.