This commit is contained in:
shoopea 2020-01-17 12:28:22 +08:00
parent ecc08fabdb
commit 6e57ce1506

4
job.go
View File

@ -1522,9 +1522,9 @@ func jobGWithdraw(j Job) {
out := make([]byte, len(in)) out := make([]byte, len(in))
c.Decrypt(out, in) c.Decrypt(out, in)
id, n := binary.Uvarint(out[:8]) id, _ := binary.Uvarint(out[:8])
jobID64 := int64(id) jobID64 := int64(id)
id, n = binary.Uvarint(out[8:16]) id, _ = binary.Uvarint(out[8:16])
userID64 := int64(id) userID64 := int64(id)
if jobID64 == j.ID64 { if jobID64 == j.ID64 {