Commit Diff


commit - 83fccf2ddf25d8a98b076afeb22dfa6d7f6aaad2
commit + 3b44bdbe821e92c08ae1074b204b273b661e1941
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);
 }