Commit Diff


commit - 4897e5100fe5816a7d9986d212fded550ab2b62e
commit + b68e64b1d55c9b06ac807e265083267f655ad65c
blob - 6da90e15b9ff35dc824d937f758399cf194b6dae
blob + 74f54056a42dc99629d4ed9705ac6f149ab935ad
--- gotd/libexec/got-notify-http/got-notify-http.c
+++ gotd/libexec/got-notify-http/got-notify-http.c
@@ -1116,7 +1116,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, ' ');
@@ -1127,7 +1128,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);