mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-12 22:11:29 +02:00
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.
This commit is contained in:
parent
75a402fc25
commit
37801918cb
@ -817,6 +817,7 @@ main (int argc, char **argv )
|
|||||||
case oTTYtype: default_ttytype = xstrdup (pargs.r.ret_str); break;
|
case oTTYtype: default_ttytype = xstrdup (pargs.r.ret_str); break;
|
||||||
case oLCctype: default_lc_ctype = 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);
|
case oLCmessages: default_lc_messages = xstrdup (pargs.r.ret_str);
|
||||||
|
break;
|
||||||
case oXauthority: default_xauthority = xstrdup (pargs.r.ret_str);
|
case oXauthority: default_xauthority = xstrdup (pargs.r.ret_str);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user