2017-10-19 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'socket error' message from 'RDCatchConnect'.
This commit is contained in:
Fred Gleason
2017-10-19 09:58:14 -04:00
parent 349fe63e5c
commit 9f1fa7cb00
3 changed files with 4 additions and 10 deletions

View File

@@ -16176,3 +16176,5 @@
* Incremented the package version to 2.17.0int00.
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Show Event Type' filter to rdcatch(1).
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'socket error' message from 'RDCatchConnect'.

View File

@@ -2,7 +2,7 @@
//
// Connect to the Rivendell Netcatcher Daemon.
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2004,2016-2017 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -42,7 +42,6 @@ RDCatchConnect::RDCatchConnect(int serial,QObject *parent)
//
cc_socket=new QSocket(this,"cc_socket");
connect(cc_socket,SIGNAL(connected()),this,SLOT(connectedData()));
connect(cc_socket,SIGNAL(error(int)),this,SLOT(errorData(int)));
connect(cc_socket,SIGNAL(readyRead()),this,SLOT(readyData()));
//
@@ -185,12 +184,6 @@ void RDCatchConnect::connectedData()
}
void RDCatchConnect::errorData(int errorcode)
{
fprintf(stderr,"RDCatchConnect: socket error %d\n",errorcode);
}
void RDCatchConnect::readyData()
{
char buf[1024];

View File

@@ -2,7 +2,7 @@
//
// Connect to the Rivendell Netcatcher Daemon.
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2004,2016-2017 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -74,7 +74,6 @@ class RDCatchConnect : public QObject
private slots:
void connectedData();
void errorData(int errorcode);
void readyData();
void heartbeatTimeoutData();