Commit 3e9131b6 authored by Volker Krause's avatar Volker Krause
Browse files

Use real bool values, not ancient defines

Those are no longer available with Qt 6.
parent 89a6218c
Pipeline #220090 passed with stage
in 8 minutes and 34 seconds
......@@ -205,7 +205,7 @@ void KSMCloseConnectionProc(SmsConn smsConn, SmPointer managerData, int count, c
SmFreeReasons(count, reasonMsgs);
IceConn iceConn = SmsGetIceConnection(smsConn);
SmsCleanUp(smsConn);
IceSetShutdownNegotiation(iceConn, False);
IceSetShutdownNegotiation(iceConn, false);
IceCloseConnection(iceConn);
}
......@@ -687,7 +687,7 @@ void KSMServer::processData(int /*socket*/)
IceConn iceConn = ((KSMConnection *)sender())->iceConn;
IceProcessMessagesStatus status = IceProcessMessages(iceConn, nullptr, nullptr);
if (status == IceProcessMessagesIOError) {
IceSetShutdownNegotiation(iceConn, False);
IceSetShutdownNegotiation(iceConn, false);
QList<KSMClient *>::iterator it = clients.begin();
QList<KSMClient *>::iterator const itEnd = clients.end();
while ((it != itEnd) && *it && (SmsGetIceConnection((*it)->connection()) != iceConn))
......@@ -737,7 +737,7 @@ void KSMServer::newConnection(int /*socket*/)
IceConn iceConn = IceAcceptConnection(((KSMListener *)sender())->listenObj, &status);
if (iceConn == nullptr)
return;
IceSetShutdownNegotiation(iceConn, False);
IceSetShutdownNegotiation(iceConn, false);
IceConnectStatus cstatus;
while ((cstatus = IceConnectionStatus(iceConn)) == IceConnectPending) {
(void)IceProcessMessages(iceConn, nullptr, nullptr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment