aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/t-stringhelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-02-26 18:44:36 +0000
committerWerner Koch <[email protected]>2010-02-26 18:44:36 +0000
commit2cf687cb3e2818ac3a6b51fea282a65f4395f580 (patch)
tree51376a0ff19c4aea990c42a895c3ef104881c240 /jnlib/t-stringhelp.c
parentSome minor changes and typo fixes. (diff)
downloadgnupg-2cf687cb3e2818ac3a6b51fea282a65f4395f580.tar.gz
gnupg-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;