Home GnuPG

Show the pid of listening process in the hello line.

Description

Show the pid of listening process in the hello line.

* src/assuan-listen.c (assuan_accept): Use getpid instead of
assuan_get_pid.

This changes the initial interaction. Before the change, the PID of
peer was shown from listening process (but not used at all, in the
code). That is, it was the PID of connecting process. After the
change, the PID of listening process is shown, which can be used by
connecting process.