From: Eric Bollengier Date: Wed, 2 Nov 2011 13:49:17 +0000 (+0100) Subject: Fix compilation issue of wx-console #1778 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d06bc85fc1418ee1a8c96acba051c555e9b6497;p=bacula%2Fbacula Fix compilation issue of wx-console #1778 --- 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 */