mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue