From 71fce2a622b103f1b227e7154fb604d8659fbf5b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 23 Feb 2008 09:37:38 +0000 Subject: [PATCH] quote user name in generated config. fixes: CCMAIL: 456775@bugs.debian.org --- src/compat/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat/config.c b/src/compat/config.c index 8910a0c..bb321d6 100644 --- a/src/compat/config.c +++ b/src/compat/config.c @@ -305,7 +305,7 @@ write_imap_server( FILE *fp, config_t *cfg ) fprintf( fp, "Port %d\n", cfg->port ); } if (cfg->user) - fprintf( fp, "User %s\n", cfg->user ); + fprintf( fp, "User \"%s\"\n", cfg->user ); if (cfg->pass) fprintf( fp, "Pass \"%s\"\n", cfg->pass ); fprintf( fp, "RequireCRAM %s\nRequireSSL %s\n"