From 543a671a6d4064612884a7dd9fcd2b8f1624f642 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 22 Dec 2004 18:22:49 +0000 Subject: [PATCH] Minor tweaks --- g10/g10.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/g10/g10.c b/g10/g10.c index e02ad0d13..0be5636a2 100644 --- a/g10/g10.c +++ b/g10/g10.c @@ -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 = "";