mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
agent: Another minor fix to map_supervised_sockets.
* agent/gpg-agent.c (map_supervised_sockets): Remove debug message. Provide correct fd in the second error case. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f57dc2b1e6
commit
1cedc32c95
@ -739,13 +739,11 @@ map_supervised_sockets (gnupg_fd_t *r_fd,
|
||||
{
|
||||
for (j = 0; j < DIM (tbl); j++)
|
||||
{
|
||||
log_debug ("i=%d j=%d fdname=%s check=%s\n", i, j,
|
||||
fdnames[i], tbl[j].label);
|
||||
if (!strcmp (fdnames[i], tbl[j].label) || j == DIM(tbl)-1)
|
||||
{
|
||||
fd = 3 + i;
|
||||
if (**tbl[j].fdaddr == -1)
|
||||
{
|
||||
fd = 3 + i;
|
||||
name = get_socket_name (fd);
|
||||
if (name)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user