Print desktop client process id.
authorCamila Ayres <hello@camilasan.com>
Wed, 19 Jun 2024 14:27:06 +0000 (16:27 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 28 Jun 2024 07:45:49 +0000 (07:45 +0000)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/libsync/vfs/cfapi/cfapiwrapper.cpp

index 6138146532a594fd956d7c12a6fef9eaabbf873c..7dcedcff422de6066c7e68e1e281e954cbc5714c 100644 (file)
@@ -133,6 +133,7 @@ void cfApiSendTransferInfo(const CF_CONNECTION_KEY &connectionKey, const CF_TRAN
 void CALLBACK cfApiFetchDataCallback(const CF_CALLBACK_INFO *callbackInfo, const CF_CALLBACK_PARAMETERS *callbackParameters)
 {
     qDebug(lcCfApiWrapper) << "Fetch data callback called. File size:" << callbackInfo->FileSize.QuadPart;
+    qDebug(lcCfApiWrapper) << "Desktop client proccess id:" << QCoreApplication::applicationPid();
     qDebug(lcCfApiWrapper) << "Fetch data requested by proccess id:" << callbackInfo->ProcessInfo->ProcessId;
     qDebug(lcCfApiWrapper) << "Fetch data requested by application id:" << QString(QString::fromWCharArray(callbackInfo->ProcessInfo->ApplicationId));