Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 257625
Collapse All | Expand All

(-)kopete-3.5.9.orig/kopete/protocols/oscar/liboscar/connection.cpp (-1 / +6 lines)
Lines 31-36 Link Here
31
31
32
#include "oscartypeclasses.h"
32
#include "oscartypeclasses.h"
33
33
34
const Oscar::WORD StarSequences[] = {
35
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
36
//0x39B1, 0x1F07
37
};
34
38
35
class ConnectionPrivate
39
class ConnectionPrivate
36
{
40
{
Lines 208-214 void Connection::forcedSend( Transfer* r Link Here
208
void Connection::initSequence()
212
void Connection::initSequence()
209
{
213
{
210
	d->snacSequence = ( KApplication::random() & 0xFFFF );
214
	d->snacSequence = ( KApplication::random() & 0xFFFF );
211
	d->flapSequence = ( KApplication::random() & 0xFFFF );
215
	int startSequencesIndex = KApplication::random() % ((sizeof StarSequences) / (sizeof StarSequences[0]));
216
	d->flapSequence = StarSequences[startSequencesIndex] - 1;
212
}
217
}
213
218
214
void Connection::distribute( Transfer * transfer ) const
219
void Connection::distribute( Transfer * transfer ) const

Return to bug 257625