Changeset 20087
- Timestamp:
- 04/20/21 23:27:53 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/pwrctrl.cc
r16727 r20087 85 85 const QDomNodeList imageElems = doc.elementsByTagName("span"); 86 86 87 for ( unsignedint i=0; i<imageElems.length(); i++)87 for (int i=0; i<imageElems.length(); i++) 88 88 { 89 89 const QDomElement e = imageElems.item(i).toElement(); … … 111 111 if (bytes_received==0 || err) 112 112 { 113 if (err==ba::error::eof )113 if (err==ba::error::eof || err==ba::error::bad_descriptor) 114 114 { 115 115 if (!fRdfData.empty()) … … 120 120 // 107: Transport endpoint is not connected (bs::error_code(107, bs::system_category)) 121 121 // 125: Operation canceled 122 if (err && err!=ba::error::eof && // Connection closed by remote host122 if (err && 123 123 err!=ba::error::basic_errors::not_connected && // Connection closed by remote host 124 124 err!=ba::error::basic_errors::operation_aborted) // Connection closed by us 125 125 { 126 126 ostringstream str; 127 str << "Reading from " << URL() << ": " << err.message() << " (" << err << ")";// << endl;127 str << "Reading[" << is_open() << "] from " << URL() << ": " << err.message() << " (" << err << ")";// << endl; 128 128 Error(str); 129 129 }
Note:
See TracChangeset
for help on using the changeset viewer.