summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qauthenticator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/kernel/qauthenticator.cpp')
-rw-r--r--src/network/kernel/qauthenticator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp
index 73991aba96..e1a24a226f 100644
--- a/src/network/kernel/qauthenticator.cpp
+++ b/src/network/kernel/qauthenticator.cpp
@@ -197,8 +197,8 @@ QAuthenticator &QAuthenticator::operator=(const QAuthenticator &other)
}
/*!
- Returns true if this authenticator is identical to \a other; otherwise
- returns false.
+ Returns \c true if this authenticator is identical to \a other; otherwise
+ returns \c false.
*/
bool QAuthenticator::operator==(const QAuthenticator &other) const
{
@@ -214,8 +214,8 @@ bool QAuthenticator::operator==(const QAuthenticator &other) const
/*!
\fn bool QAuthenticator::operator!=(const QAuthenticator &other) const
- Returns true if this authenticator is different from \a other; otherwise
- returns false.
+ Returns \c true if this authenticator is different from \a other; otherwise
+ returns \c false.
*/
/*!
@@ -320,7 +320,7 @@ void QAuthenticator::setOption(const QString &opt, const QVariant &value)
/*!
- Returns true if the authenticator is null.
+ Returns \c true if the authenticator is null.
*/
bool QAuthenticator::isNull() const
{
@@ -1392,7 +1392,7 @@ static bool qNtlmDecodePhase2(const QByteArray& data, QNtlmPhase2Block& ch)
ds >> ch.targetInfo;
if (ch.targetName.len > 0) {
- if (ch.targetName.len + ch.targetName.offset >= (unsigned)data.size())
+ if (ch.targetName.len + ch.targetName.offset > (unsigned)data.size())
return false;
ch.targetNameStr = qStringFromUcs2Le(data.mid(ch.targetName.offset, ch.targetName.len));