LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File initialise-mCrossDomain-fix.diff of Package kdelibs3 (Project KDE:KDE3)

commit dabf3a9fef3b352ed3cae6d58b7ed26c290d93ea
Author: Slávek Banko <slavek.banko@axis.cz>
Date:   1358789956 +0100

    Initialise the mCrossDomain member variable in the cookies
    Backported from KDE GIT commit 794b14b8

diff --git a/kioslave/http/kcookiejar/kcookiejar.cpp b/kioslave/http/kcookiejar/kcookiejar.cpp
index ec0a423..e70c97e 100644
--- a/kioslave/http/kcookiejar/kcookiejar.cpp
+++ b/kioslave/http/kcookiejar/kcookiejar.cpp
@@ -146,6 +146,7 @@ KHttpCookie::KHttpCookie(const TQString &_host,
        mExpireDate(_expireDate),
        mProtocolVersion(_protocolVersion),
        mSecure(_secure),
+       mCrossDomain(false),
        mHttpOnly(_httpOnly),
        mExplicitPath(_explicitPath)
 {