]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix tray-monitor compilation
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 19 Nov 2010 08:39:59 +0000 (09:39 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 19 Nov 2010 08:40:17 +0000 (09:40 +0100)
bacula/src/tray-monitor/tray-monitor.c

index 4037272618160337acb7f11974e2ffa47bd37c6a..921e25cd664547163560c66ec2188ef34b06644f 100644 (file)
@@ -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) {