From 604bdba9871ed7653b0c2f26c44798489f703e07 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 19 Nov 2010 09:39:59 +0100 Subject: [PATCH] Fix tray-monitor compilation --- bacula/src/tray-monitor/tray-monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5