agent,dirmngr: Tiny restructuring.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Nov 2016 19:35:10 +0000 (20:35 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Nov 2016 19:35:23 +0000 (20:35 +0100)
commitaa6ab9e0bc67fe9ce5601047e84ea4a875e8eb64
tree3d341b20bcaa6734d8c3f066c6765fe7539de43e
parent854adc8ae19749e44cb79dfa0c5401f48012b13a
agent,dirmngr: Tiny restructuring.

* agent/gpg-agent.c (handle_connections): Add a comment.
* dirmngr/dirmngr.c (main): Move assuan_sock_close of the listening
socket to ...
(handle_connections): here.  Add a comment why we keep the
listening socket open during a shutdown.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/gpg-agent.c
dirmngr/dirmngr.c