core: Base gpgme_get_dirinfo(uiserver-socket) on the socket dir.
authorWerner Koch <wk@gnupg.org>
Mon, 22 Aug 2016 14:32:14 +0000 (16:32 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Aug 2016 14:32:14 +0000 (16:32 +0200)
commitc9e7dcb100d807583d8e312da459561138231376
treee5a7990466da62838988f2961d943614c83ef53a
parent3e60788810f93cfcd7f08e5882aff32ed7b6f831
core: Base gpgme_get_dirinfo(uiserver-socket) on the socket dir.

* src/dirinfo.c (dirname_len): New.
(parse_output): Change computation of UISRV_SOCKET.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/dirinfo.c