return early

pull/1658/head
Cory LaNou 2015-02-19 19:46:45 -07:00
parent b7d92743e1
commit 660db92fef
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ func (h *Handler) serveWait(w http.ResponseWriter, r *http.Request) {
if index == 0 {
w.WriteHeader(http.StatusBadRequest)
return
}
var d time.Duration