remove unnecessary channel closes, one of which was buggy

This commit is contained in:
Brad Fitzpatrick 2011-04-07 19:26:05 -07:00
parent c56f82c5dd
commit 0de477e15f
1 changed files with 0 additions and 2 deletions

View File

@ -122,8 +122,6 @@ func handleEnumerateBlobs(conn http.ResponseWriter, req *http.Request, storage b
case err := <-resultch:
if err != nil {
log.Printf("Error during enumerate: %v", err)
close(blobch) // TODO: necessary?
close(resultch) // TODO: necessary?
fmt.Fprintf(conn, "{{{ SERVER ERROR }}}")
return
}