mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Minor tweaks
This commit is contained in:
parent
1f11db5829
commit
543a671a6d
14
g10/g10.c
14
g10/g10.c
@ -812,12 +812,12 @@ log_set_strict (int yesno)
|
|||||||
static char *
|
static char *
|
||||||
make_username( const char *string )
|
make_username( const char *string )
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
if( utf8_strings )
|
if( utf8_strings )
|
||||||
p = xstrdup (string);
|
p = xstrdup (string);
|
||||||
else
|
else
|
||||||
p = native_to_utf8( string );
|
p = native_to_utf8( string );
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -884,7 +884,7 @@ set_debug (const char *level)
|
|||||||
/* We need the home directory also in some other directories, so make
|
/* We need the home directory also in some other directories, so make
|
||||||
sure that both variables are always in sync. */
|
sure that both variables are always in sync. */
|
||||||
static void
|
static void
|
||||||
set_homedir (char *dir)
|
set_homedir (const char *dir)
|
||||||
{
|
{
|
||||||
if (!dir)
|
if (!dir)
|
||||||
dir = "";
|
dir = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user