Permalink
Browse files

fix uuid gen

  • Loading branch information...
carloscm committed May 13, 2012
1 parent 2f61315 commit 0bb3565c1f274540f9474b71ecf74558996900fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gossie/uuid.go
View
@@ -97,7 +97,7 @@ func uniqueHundredNSBlock() int64 {
timeMutex.Lock()
hundredNSBlock := hNSBlockFromTime(time.Now())
if hundredNSBlock <= previousHundredNSBlock {
- hundredNSBlock++
+ hundredNSBlock = previousHundredNSBlock + 1
}
previousHundredNSBlock = hundredNSBlock
timeMutex.Unlock()

0 comments on commit 0bb3565

Please sign in to comment.