From 7b723271c4ed24ecbf11494050fc1e62ceb9fe8d Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Wed, 19 Jun 2024 16:27:06 +0200 Subject: [PATCH] Print desktop client process id. Signed-off-by: Camila Ayres --- src/libsync/vfs/cfapi/cfapiwrapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsync/vfs/cfapi/cfapiwrapper.cpp b/src/libsync/vfs/cfapi/cfapiwrapper.cpp index 48092254f32f6..715fa60f8a1f9 100644 --- a/src/libsync/vfs/cfapi/cfapiwrapper.cpp +++ b/src/libsync/vfs/cfapi/cfapiwrapper.cpp @@ -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));