1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

dirmngr: Use the homedir based socket also under W32.

* common/homedir.c (dirmngr_user_socket_name): Use same code for all
platforms.
This commit is contained in:
Werner Koch 2014-06-25 20:25:28 +02:00
parent 2c40255761
commit 5e1f9b5e14

View 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*/
}