aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2016-06-08 22:33:37 +0200
committerMatthias Andree <matthias.andree@gmx.de>2016-06-08 22:33:37 +0200
commit524394502fd68463dc5785fdc95c418459eebce5 (patch)
tree91579207e04db146de66f7d4c6804ab32f16e66f /conf.c
parentff279a5697992730bc885ddd171456c06c09fb10 (diff)
downloadfetchmail-524394502fd68463dc5785fdc95c418459eebce5.tar.gz
fetchmail-524394502fd68463dc5785fdc95c418459eebce5.tar.bz2
fetchmail-524394502fd68463dc5785fdc95c418459eebce5.zip
--configdump: fix quoting RHS of localnames
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index e51c7ccb..3daa4954 100644
--- a/conf.c
+++ b/conf.c
@@ -336,7 +336,7 @@ void dump_config(struct runctl *runp, struct query *querylist)
strlcpy(namebuf, visbuf(idp->id), sizeof(namebuf));
if (idp->val.id2)
- fprintf(stdout, "(\"%s\", %s)", namebuf, visbuf(idp->val.id2));
+ fprintf(stdout, "(\"%s\", \"%s\")", namebuf, visbuf(idp->val.id2));
else
fprintf(stdout, "\"%s\"", namebuf);
if (idp->next)