diff options
| -rw-r--r-- | source/QXmppUtils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/QXmppUtils.cpp b/source/QXmppUtils.cpp index 9219a74e..256a4beb 100644 --- a/source/QXmppUtils.cpp +++ b/source/QXmppUtils.cpp @@ -86,10 +86,9 @@ QString jidToBareJid(const QString& jid) QString generateStanzaHash() { - QString somechars = "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; QString hashResult; - for ( int idx = 0; idx < 10; ++idx ) + for ( int idx = 0; idx < 32; ++idx ) { hashResult += somechars[(qrand() % 61)]; } |
