Minor tweaks

This commit is contained in:
Werner Koch 2004-12-22 18:22:49 +00:00
parent 1f11db5829
commit 543a671a6d
1 changed files with 7 additions and 7 deletions

View File

@ -812,12 +812,12 @@ log_set_strict (int yesno)
static char *
make_username( const char *string )
{
char *p;
if( utf8_strings )
p = xstrdup (string);
else
p = native_to_utf8( string );
return p;
char *p;
if( utf8_strings )
p = xstrdup (string);
else
p = native_to_utf8( string );
return p;
}
@ -884,7 +884,7 @@ set_debug (const char *level)
/* We need the home directory also in some other directories, so make
sure that both variables are always in sync. */
static void
set_homedir (char *dir)
set_homedir (const char *dir)
{
if (!dir)
dir = "";