Win compile fixes

This commit is contained in:
davidpanderson 2020-05-15 15:02:13 -07:00
parent 12e22878bd
commit 918b7c8f13
1 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,9 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
// boinclog: command-line interface to a BOINC client,
// using GUI RPCs.
// boinc_log: show stream of event-log messages from a client
//
// usage: boinccmd [--host hostname] [--passwd passwd] command
// usage: boinc_log [--host hostname] [--passwd passwd]
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
@ -176,7 +175,8 @@ int main(int argc, char** argv) {
#endif
}
read_gui_rpc_password(passwd_buf);
std::string msg;
read_gui_rpc_password(passwd_buf, msg);
retval = rpc.init(hostname, port);
if (retval) {