aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-01-25 12:44:27 +0000
committerWerner Koch <[email protected]>2011-01-25 12:44:27 +0000
commit05a3f5639139c14d360da29141108a868fbc3071 (patch)
tree91fa1dd0c4350233a7c791276e17f095c0a941af
parentMake dirmngr more battery friendly. (diff)
downloadgnupg-05a3f5639139c14d360da29141108a868fbc3071.tar.gz
gnupg-05a3f5639139c14d360da29141108a868fbc3071.zip
Fix setting of default homedir for Wince
Accidentally used == for assignment. Not a problem in our test environment because we use /gnupg as home directory anyway.
Diffstat (limited to '')
-rw-r--r--dirmngr/ChangeLog2
-rw-r--r--dirmngr/dirmngr.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/dirmngr/ChangeLog b/dirmngr/ChangeLog
index 716effbe8..02defce7e 100644
--- a/dirmngr/ChangeLog
+++ b/dirmngr/ChangeLog
@@ -3,6 +3,8 @@
* dirmngr.c (handle_connections): Rewrite loop to use pth-select
so to sync timeouts to the full second.
(pth_thread_id): New.
+ (main) [W32CE]: Fix setting of default homedir.
+
* ldap-wrapper.c (ldap_wrapper_thread): Sync to the full second.
Increate pth_wait timeout from 1 to 2 seconds.
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index 678cf3df2..e1bae7ea3 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -729,7 +729,7 @@ main (int argc, char **argv)
if (opt.system_daemon && !homedir_seen)
{
#ifdef HAVE_W32CE_SYSTEM
- opt.homedir == DIRSEP_S "gnupg";
+ opt.homedir = DIRSEP_S "gnupg";
#else
opt.homedir = gnupg_sysconfdir ();
#endif