From a1dece73ce2588e3a670c04d2fe73e2f7fb53cd5 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 30 Mar 2014 16:53:31 +0200 Subject: [PATCH] One more try to fix old bnet calls in tray-monitor --- bacula/src/qt-console/tray-monitor/tray-ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/qt-console/tray-monitor/tray-ui.h b/bacula/src/qt-console/tray-monitor/tray-ui.h index 0c2b959049..d0084055a9 100644 --- a/bacula/src/qt-console/tray-monitor/tray-ui.h +++ b/bacula/src/qt-console/tray-monitor/tray-ui.h @@ -142,7 +142,7 @@ private slots: qDebug() << cmd; item->D_sock->fsend("%s", cmd.toUtf8().data()); QString output; - while(bnet_recv(item->D_sock) >= 0) {output += item->D_sock->msg;} + while(item->D_sock->recv() >= 0) {output += item->D_sock->msg;} QMessageBox msgBox; msgBox.setText(output); msgBox.exec(); -- 2.39.5