Make sure the pth_msgport_t exists before trying to lock it's mutex in
commitaf7487549aa97a61f2f69e793a8f26fd0bdc6d2a
authorBen Kibbey <bjk@luxsci.net>
Sat, 25 Apr 2009 17:39:17 +0000 (25 13:39 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 25 Apr 2009 17:39:17 +0000 (25 13:39 -0400)
tree330805de9e4c9b6714766cb7e543ffd90b541291
parente3343becdd6b7f09eebd99ba2afa4511513956eb
Make sure the pth_msgport_t exists before trying to lock it's mutex in
send_status_all().  Fixes deadlocks when a client is exiting and another
is starting up.

A few minor fixes and cleanups.
src/commands.c
src/common.h
src/pinentry.c
src/pwmd.c
src/status.c