]> git.sur5r.net Git - bacula/bacula/commitdiff
One more try to fix old bnet calls in tray-monitor
authorKern Sibbald <kern@sibbald.com>
Sun, 30 Mar 2014 14:53:31 +0000 (16:53 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 30 Mar 2014 14:53:31 +0000 (16:53 +0200)
bacula/src/qt-console/tray-monitor/tray-ui.h

index 0c2b959049466fa2b5f41a73c633be9630939c17..d0084055a9c2d8e64b2f292c90adf05d7149ea12 100644 (file)
@@ -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();