Permalink
Browse files

all 2nn are okay

  • Loading branch information...
bradfitz committed Apr 24, 2012
1 parent 14213f5 commit ca8806dc7c71bf9038b9a533723d4158dad077ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 battc/battc.go
View
@@ -224,7 +224,7 @@ func (j *Job) Accept(uploadUrl string) {
log.Println(err)
return
}
- if res.StatusCode != 200 {
+ if res.StatusCode%100 != 2 {
log.Println("bad upload:", res.Status)
return
}

0 comments on commit ca8806d

Please sign in to comment.