Commit Diff


commit - a4e4dd0f5eeb9188bc733636831fba9179ec0809
commit + 32064912ea4c38e6b01927c4d4a371748f4d868d
blob - ca2fac365b6767656572e723c415c12ecbde3976
blob + dc7269a18a297879fc366540be483c2a3d629b2d
--- gotd/libexec/got-notify-http/got-notify-http.c
+++ gotd/libexec/got-notify-http/got-notify-http.c
@@ -1122,7 +1122,8 @@ main(int argc, char **argv)
 				fatalx("bad HTTP response from server");
 			*spc++ = '\0';
 			if (strcasecmp(line, "HTTP/1.1") != 0)
-				log_warnx("unexpected protocol: %s", line);
+				log_warnx("warning: unexpected protocol: %s",
+				    line);
 			line = spc;
 
 			spc = strchr(line, ' ');
@@ -1133,7 +1134,7 @@ main(int argc, char **argv)
 			response_code = strtonum(line, 100, 599,
 			    &errstr);
 			if (errstr != NULL)
-				log_warnx("response code is %s: %s",
+				log_warnx("warning: response code is %s: %s",
 				    errstr, line);
 
 			buf_drain(&bio.rbuf, len);