aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <[email protected]>2012-01-14 21:20:39 +0000
committerWerner Koch <[email protected]>2012-01-16 10:49:38 +0000
commit37801918cb916ae8c641e003f204dcc70cccb29c (patch)
treecb89b7c8237d8f2d6309a24fbf9decb451415c5d
parentFix indentation. (diff)
downloadgnupg-37801918cb916ae8c641e003f204dcc70cccb29c.tar.gz
gnupg-37801918cb916ae8c641e003f204dcc70cccb29c.zip
gpg-agent: fix lc-messages handling not to change Xauthority setting
* agent/gpg-agent.c (main): Supply omitted "break" statement for lc-messages option. Otherwise, control would fall through to the following oXauthority case and use the same value there.
-rw-r--r--agent/gpg-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 63f4ba2c8..c264ba3c3 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -817,6 +817,7 @@ main (int argc, char **argv )
case oTTYtype: default_ttytype = xstrdup (pargs.r.ret_str); break;
case oLCctype: default_lc_ctype = xstrdup (pargs.r.ret_str); break;
case oLCmessages: default_lc_messages = xstrdup (pargs.r.ret_str);
+ break;
case oXauthority: default_xauthority = xstrdup (pargs.r.ret_str);
break;