summaryrefslogtreecommitdiffstats
path: root/jnlib/t-stringhelp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-02-26 19:44:36 +0100
committerWerner Koch <wk@gnupg.org>2010-02-26 19:44:36 +0100
commit2cf687cb3e2818ac3a6b51fea282a65f4395f580 (patch)
tree51376a0ff19c4aea990c42a895c3ef104881c240 /jnlib/t-stringhelp.c
parentSome minor changes and typo fixes. (diff)
downloadgnupg2-2cf687cb3e2818ac3a6b51fea282a65f4395f580.tar.xz
gnupg2-2cf687cb3e2818ac3a6b51fea282a65f4395f580.zip
First batch of changes to support W32CE.
Note that jnlib/w32-reg.c is not yet ready.
Diffstat (limited to 'jnlib/t-stringhelp.c')
-rw-r--r--jnlib/t-stringhelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jnlib/t-stringhelp.c b/jnlib/t-stringhelp.c
index 02041d35e..0c921b03d 100644
--- a/jnlib/t-stringhelp.c
+++ b/jnlib/t-stringhelp.c
@@ -43,9 +43,9 @@ gethome (void)
{
char *home = getenv("HOME");
-#if defined(HAVE_GETPWUID) && defined(HAVE_PWD_H)
if(home)
home_buffer = xstrdup (home);
+#if defined(HAVE_GETPWUID) && defined(HAVE_PWD_H)
else
{
struct passwd *pwd;