From 9f1fa7cb00129982edc468aec5c8f859d750b4ed Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 19 Oct 2017 09:58:14 -0400 Subject: [PATCH] 2017-10-19 Fred Gleason * Removed the 'socket error' message from 'RDCatchConnect'. --- ChangeLog | 2 ++ lib/rdcatch_connect.cpp | 9 +-------- lib/rdcatch_connect.h | 3 +-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82aaf857..2289cf27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16176,3 +16176,5 @@ * Incremented the package version to 2.17.0int00. 2017-10-19 Fred Gleason * Added a 'Show Event Type' filter to rdcatch(1). +2017-10-19 Fred Gleason + * Removed the 'socket error' message from 'RDCatchConnect'. diff --git a/lib/rdcatch_connect.cpp b/lib/rdcatch_connect.cpp index 48b8f488..b6855fb2 100644 --- a/lib/rdcatch_connect.cpp +++ b/lib/rdcatch_connect.cpp @@ -2,7 +2,7 @@ // // Connect to the Rivendell Netcatcher Daemon. // -// (C) Copyright 2002-2004,2016 Fred Gleason +// (C) Copyright 2002-2004,2016-2017 Fred Gleason // // 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]; diff --git a/lib/rdcatch_connect.h b/lib/rdcatch_connect.h index a802b2a8..74678c54 100644 --- a/lib/rdcatch_connect.h +++ b/lib/rdcatch_connect.h @@ -2,7 +2,7 @@ // // Connect to the Rivendell Netcatcher Daemon. // -// (C) Copyright 2002-2004,2016 Fred Gleason +// (C) Copyright 2002-2004,2016-2017 Fred Gleason // // 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();