[Dsmyth-checkins] MythTVReader/MythSource RemoteFile.cpp,1.13,1.14
Brought to you by:
tobbej
From: Torbjörn J. <to...@us...> - 2004-08-11 16:54:42
|
Update of /cvsroot/dsmyth/MythTVReader/MythSource In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv825 Modified Files: RemoteFile.cpp Log Message: error handling improvments Index: RemoteFile.cpp =================================================================== RCS file: /cvsroot/dsmyth/MythTVReader/MythSource/RemoteFile.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** RemoteFile.cpp 30 Jul 2004 19:48:35 -0000 1.13 --- RemoteFile.cpp 11 Aug 2004 16:54:28 -0000 1.14 *************** *** 21,24 **** --- 21,27 ---- // // $Log$ + // Revision 1.14 2004/08/11 16:54:28 tobbej + // error handling improvments + // // Revision 1.13 2004/07/30 19:48:35 tobbej // Implemented channel changing. *************** *** 181,185 **** if(FD_ISSET(m_ctrlsock,&recvset)) { ! GetResponse(m_ctrlsock,response); CAtlArray<CAtlString> list; SplitString(response,list); --- 184,192 ---- if(FD_ISSET(m_ctrlsock,&recvset)) { ! if(!GetResponse(m_ctrlsock,response)) ! { ! throw CRemoteFileException("CRemoteFile::Read GetResponse() on controll socket failed"); ! } ! CAtlArray<CAtlString> list; SplitString(response,list); *************** *** 204,208 **** if(!bResponseRead) { ! GetResponse(m_ctrlsock,response); CAtlArray<CAtlString> list; SplitString(response,list); --- 211,219 ---- if(!bResponseRead) { ! if(!GetResponse(m_ctrlsock,response)) ! { ! throw CRemoteFileException("CRemoteFile::Read GetResponse() on controll socket failed"); ! } ! CAtlArray<CAtlString> list; SplitString(response,list); |