Skip to content

Commit

Permalink
small bug in message id. fixing #27.
Browse files Browse the repository at this point in the history
  • Loading branch information
monnand committed Jul 16, 2013
1 parent 7342a12 commit a61be8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srv/apns.go
Expand Up @@ -210,7 +210,7 @@ receiving_APNS_status:
for {
select {
case res := <-resChan:
idx := res.msgId - lastId - uint32(n)
idx := res.msgId - lastId + uint32(n)
if idx >= uint32(len(dpList)) || idx < 0 {
continue
}
Expand Down

0 comments on commit a61be8b

Please sign in to comment.