Commit Diff


commit - 2403c80c372b1d6deacb38b0bf9bee1b145e6529
commit + 37038afa98389d7b612d7077ce821d951e55034b
blob - 779b64b8f926d8b54243bbffe99d9cb186659d70
blob + 80cfc6f803bbf046beb7285ddb64fd7ef3169391
--- gotd/libexec/got-notify-http/got-notify-http.c
+++ gotd/libexec/got-notify-http/got-notify-http.c
@@ -618,7 +618,7 @@ main(int argc, char **argv)
 		}
 	}
 
-	if (response_code >= 200 && response_code < 400)
+	if (response_code >= 200 && response_code < 300)
 		return 0;
 	errx(1, "request failed with code %d", response_code);
 }