ALT Linux Bugzilla
– Attachment 3247 Details for
Bug 16955
kopete не соединяется с ICQ-сервером. Старый протокол.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч
icqflacfix.diff (text/plain), 1.03 KB, created by
Alex Svirin
on 2009-01-23 08:00:35 MSK
(
hide
)
Description:
Патч
Filename:
MIME Type:
Creator:
Alex Svirin
Created:
2009-01-23 08:00:35 MSK
Size:
1.03 KB
patch
obsolete
>Index: kopete/protocols/oscar/liboscar/connection.cpp >=================================================================== >--- kopete/protocols/oscar/liboscar/connection.cpp (revision 914789) >+++ kopete/protocols/oscar/liboscar/connection.cpp (working copy) >@@ -31,6 +31,10 @@ > #include <QList> > #include <krandom.h> > >+const Oscar::WORD StarSequences[] = { >+ 5695, 23595, 23620, 23049, 0x2886, 0x2493, 23620, 23049, 2853, 17372, 1255, 1796, 1657, 13606, 1930, 23918, 31234, 30120, 0x1BEA, 0x5342, 0x30CC, 0x2294, 0x5697, 0x25FA, 0x3C26, 0x3303, 0x078A, 0x0FC5, 0x25D6, 0x26EE,0x7570, 0x7F33, 0x4E94, 0x07C9, 0x7339, 0x42A8 >+ // 0x39B1, 0x1F07 >+}; > > class ConnectionPrivate > { >@@ -238,7 +242,8 @@ > void Connection::initSequence() > { > d->snacSequence = ( KRandom::random() & 0xFFFF ); >- d->flapSequence = ( KRandom::random() & 0xFFFF ); >+ int startSequencesIndex = qrand() % ((sizeof StarSequences) / (sizeof StarSequences[0])); >+ d->flapSequence = StarSequences[startSequencesIndex] - 1; > } > > void Connection::distribute( Transfer * transfer ) const
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16955
: 3247