Skip to content

Commit 2374a3b

Browse files
committed
Math is hard
1 parent 3fdb615 commit 2374a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplehttp2server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func main() {
8888
log.Printf("Request for %s (Accept-Encoding: %s)", r.URL.Path, r.Header.Get("Accept-Encoding"))
8989

9090
delay := 0
91-
if *maxDelay >= *minDelay {
91+
if *maxDelay > *minDelay {
9292
delay = mrand.Intn(*maxDelay-*minDelay) + *minDelay
9393
}
9494
if queryDelay := r.FormValue("delay"); queryDelay != "" {

0 commit comments

Comments
 (0)