From 0d06bc85fc1418ee1a8c96acba051c555e9b6497 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 2 Nov 2011 14:49:17 +0100 Subject: [PATCH] Fix compilation issue of wx-console #1778 --- bacula/src/wx-console/console_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/wx-console/console_thread.cpp b/bacula/src/wx-console/console_thread.cpp index bb4a8ce770..50fef34278 100644 --- a/bacula/src/wx-console/console_thread.cpp +++ b/bacula/src/wx-console/console_thread.cpp @@ -483,7 +483,7 @@ void* console_thread::Entry() { csprint(UA_sock->msg); } else if (stat == BNET_SIGNAL) { - if (UA_sock->msglen == BNET_PROMPT) { + if (UA_sock->msglen == BNET_SUB_PROMPT) { csprint(NULL, CS_PROMPT); } else if (UA_sock->msglen == BNET_EOD) { last_is_eod = 1; @@ -534,7 +534,7 @@ void console_thread::Write(const char* str) if (UA_sock) { UA_sock->msglen = (int32_t)strlen(str); pm_strcpy(&UA_sock->msg, str); - UA_sock->_send(); + UA_sock->send(); } else if (choosingdirector) { // wxString number = str; // number.RemoveLast(); /* Removes \n */ -- 2.39.5