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:
parent
2c40255761
commit
5e1f9b5e14
@ -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*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user