From: Kern Sibbald Date: Sun, 30 Mar 2014 14:53:31 +0000 (+0200) Subject: One more try to fix old bnet calls in tray-monitor X-Git-Tag: Release-7.0.1~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1dece73ce2588e3a670c04d2fe73e2f7fb53cd5;p=bacula%2Fbacula One more try to fix old bnet calls in tray-monitor --- 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();