Changeset 8204 in ntrip for trunk/BNC/src/upload/bncuploadcaster.cpp
- Timestamp:
- Dec 11, 2017, 3:00:40 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r8153 r8204 90 90 _outSocket->write(_outBuffer); 91 91 _outSocket->flush(); 92 emit newBytes(_mountpoint.to Ascii(), _outBuffer.size());92 emit newBytes(_mountpoint.toLatin1(), _outBuffer.size()); 93 93 } 94 94 } … … 140 140 delete _outSocket; 141 141 _outSocket = 0; 142 emit(newMessage("Broadcaster: Connect timeout for " + _mountpoint.to Ascii(), true));142 emit(newMessage("Broadcaster: Connect timeout for " + _mountpoint.toLatin1(), true)); 143 143 return; 144 144 } 145 145 146 QByteArray msg = "SOURCE " + _password.to Ascii() + " /" +147 _mountpoint.to Ascii() + "\r\n" +146 QByteArray msg = "SOURCE " + _password.toLatin1() + " /" + 147 _mountpoint.toLatin1() + "\r\n" + 148 148 "Source-Agent: NTRIP BNC/" BNCVERSION "\r\n\r\n"; 149 149 … … 157 157 delete _outSocket; 158 158 _outSocket = 0; 159 emit(newMessage("Broadcaster: Connection broken for " + _mountpoint.to Ascii(), true));159 emit(newMessage("Broadcaster: Connection broken for " + _mountpoint.toLatin1(), true)); 160 160 } 161 161 else { 162 emit(newMessage("Broadcaster: Connection opened for " + _mountpoint.to Ascii(), true));162 emit(newMessage("Broadcaster: Connection opened for " + _mountpoint.toLatin1(), true)); 163 163 _sOpenTrial = 0; 164 164 }
Note:
See TracChangeset
for help on using the changeset viewer.