dirmngr: Use the homedir based socket also under W32.
authorWerner Koch <wk@gnupg.org>
Wed, 25 Jun 2014 18:25:28 +0000 (20:25 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 27 Jun 2014 17:10:09 +0000 (19:10 +0200)
* common/homedir.c (dirmngr_user_socket_name): Use same code for all
platforms.

common/homedir.c

index c50809f..7939841 100644 (file)
@@ -605,15 +605,11 @@ dirmngr_sys_socket_name (void)
 const char *
 dirmngr_user_socket_name (void)
 {
-#ifdef HAVE_W32_SYSTEM
-  return NULL;  /* We support only a system service.  */
-#else /*!HAVE_W32_SYSTEM*/
   static char *name;
 
   if (!name)
     name = make_absfilename (default_homedir (), DIRMNGR_SOCK_NAME, NULL);
   return name;
-#endif /*!HAVE_W32_SYSTEM*/
 }