diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-09 19:44:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-09 19:51:30 (GMT) |
commit | 1d5026df5c9ef2538b83973bb238c692cb5b84d6 (patch) | |
tree | 4c2d5fbe51de5f1889113c30a8d9b559aae60878 /Swiften | |
parent | 6b84fa40ba2f08548a4bcaa3cc8dbf0b8efc74f5 (diff) | |
download | swift-1d5026df5c9ef2538b83973bb238c692cb5b84d6.zip swift-1d5026df5c9ef2538b83973bb238c692cb5b84d6.tar.bz2 |
Fixed potential bug in DIGEST-MD5 quote handling.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/SASL/DIGESTMD5Properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/SASL/DIGESTMD5Properties.cpp b/Swiften/SASL/DIGESTMD5Properties.cpp index d20f66e..571602b 100644 --- a/Swiften/SASL/DIGESTMD5Properties.cpp +++ b/Swiften/SASL/DIGESTMD5Properties.cpp @@ -17,7 +17,7 @@ namespace { return v[0] == '"'; } else if (v[0] == '"') { - return !v[v.getSize() - 1] == '"'; + return v[v.getSize() - 1] != '"'; } else { return false; |