rand: 1^N == 1 all the time..
This commit is contained in:
parent
57e67cac55
commit
15d8883c95
|
@ -44,7 +44,7 @@ Object subclass: SIPUserAgentBase [
|
|||
SIPUserAgentBase class >> generateCSeq [
|
||||
<category: 'helper'>
|
||||
"CSeq must be < 2^31 but Random only allows 2^29"
|
||||
^ Random between: 1 and: (1 raisedTo: 29).
|
||||
^ Random between: 1 and: (2 raisedTo: 29).
|
||||
]
|
||||
|
||||
|
||||
|
|
Reference in New Issue