From: Eric Bollengier Date: Fri, 19 Nov 2010 08:39:59 +0000 (+0100) Subject: Fix tray-monitor compilation X-Git-Tag: Release-5.2.1~929 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=604bdba9871ed7653b0c2f26c44798489f703e07;p=bacula%2Fbacula Fix tray-monitor compilation --- diff --git a/bacula/src/tray-monitor/tray-monitor.c b/bacula/src/tray-monitor/tray-monitor.c index 4037272618..921e25cd66 100644 --- a/bacula/src/tray-monitor/tray-monitor.c +++ b/bacula/src/tray-monitor/tray-monitor.c @@ -1023,9 +1023,9 @@ int docmd(monitoritem* item, const char* command, GSList** list) //fprintf(stderr, "<< EOD >>\n"); return 1; } - else if (item->D_sock->msglen == BNET_PROMPT) { + else if (item->D_sock->msglen == BNET_SUB_PROMPT) { //fprintf(stderr, "<< PROMPT >>\n"); - *list = g_slist_append(*list, g_string_new(_("<< Error: BNET_PROMPT signal received. >>\n"))); + *list = g_slist_append(*list, g_string_new(_("<< Error: BNET_SUB_PROMPT signal received. >>\n"))); return 0; } else if (item->D_sock->msglen == BNET_HEARTBEAT) {