If username is NULL when passed to pwmd_tcp_connect(), use the current
commitd3b13cc50badb447ec81ef73a61148aacb2917dd
authorBen Kibbey <bjk@luxsci.net>
Sun, 15 Mar 2009 16:25:44 +0000 (15 12:25 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 15 Mar 2009 16:25:44 +0000 (15 12:25 -0400)
tree22db2be208b2b4170cf36dfd262df52655ef8622
parente2eb08a6d4089cfa8d988611d7766369bb0a0830
If username is NULL when passed to pwmd_tcp_connect(), use the current
user gotten from getpwuid() as the username.
src/libpwmd.c
src/pwmc.c