diff options
Diffstat (limited to 'src/w32-util.c')
-rw-r--r-- | src/w32-util.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/w32-util.c b/src/w32-util.c index 27dc5bcc..4cee1cb6 100644 --- a/src/w32-util.c +++ b/src/w32-util.c @@ -62,6 +62,7 @@ #include "ath.h" #include "sema.h" #include "debug.h" +#include "sys-util.h" #ifndef HAVE_W32CE_SYSTEM @@ -493,29 +494,6 @@ _gpgme_get_g13_path (void) const char * -_gpgme_get_uiserver_socket_path (void) -{ - static char *socket_path; - const char *homedir; - const char name[] = "S.uiserver"; - - if (socket_path) - return socket_path; - - homedir = _gpgme_get_default_homedir (); - if (! homedir) - return NULL; - - socket_path = malloc (strlen (homedir) + 1 + strlen (name) + 1); - if (! socket_path) - return NULL; - - strcpy (stpcpy (stpcpy (socket_path, homedir), "\\"), name); - return socket_path; -} - - -const char * _gpgme_get_w32spawn_path (void) { static char *w32spawn_program; |