mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: initialize KHTTPPrivate::m_filepool member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f5fa2f2fd6
commit
45db837f12
1 changed files with 3 additions and 2 deletions
|
@ -250,7 +250,7 @@ static bool shouldWriteData(const ushort httpstatus)
|
|||
return (httpstatus >= 200 && httpstatus != 204);
|
||||
}
|
||||
|
||||
static const QByteArray HTTPDate(const QDateTime &datetime)
|
||||
static QByteArray HTTPDate(const QDateTime &datetime)
|
||||
{
|
||||
Q_ASSERT(datetime.timeSpec() == Qt::UTC);
|
||||
QByteArray httpdate = datetime.toString("ddd, dd MMM yyyy hh:mm:ss").toAscii();
|
||||
|
@ -466,7 +466,8 @@ private:
|
|||
KHTTPPrivate::KHTTPPrivate(QObject *parent)
|
||||
: QObject(parent),
|
||||
tcpserver(nullptr),
|
||||
m_ref(0)
|
||||
m_ref(0),
|
||||
m_filepool(nullptr)
|
||||
{
|
||||
serverid = QCoreApplication::applicationName();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue