fix
This commit is contained in:
parent
ecc08fabdb
commit
6e57ce1506
4
job.go
4
job.go
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user