mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Add debug output to pin down issue 3545.
This commit is contained in:
parent
aa7d204297
commit
e4ac2e6d82
@ -77,11 +77,14 @@ void RemoteClient::IncomingData() {
|
||||
}
|
||||
|
||||
void RemoteClient::ParseMessage(const QByteArray &data) {
|
||||
qLog(Debug) << "ParseMessage()";
|
||||
qLog(Debug) << "Data" << data;
|
||||
pb::remote::Message msg;
|
||||
if (!msg.ParseFromArray(data.constData(), data.size())) {
|
||||
qLog(Info) << "Couldn't parse data";
|
||||
return;
|
||||
}
|
||||
qLog(Debug) << "ParseFromArray()";
|
||||
|
||||
if (msg.type() == pb::remote::CONNECT && use_auth_code_) {
|
||||
if (msg.request_connect().auth_code() != auth_code_) {
|
||||
@ -91,6 +94,7 @@ void RemoteClient::ParseMessage(const QByteArray &data) {
|
||||
}
|
||||
|
||||
// Now parse the other data
|
||||
qLog(Debug) << "emit Parse(msg)";
|
||||
emit Parse(msg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user