Commit Diff


commit - a2f6db49f7f748763b9244ca6166389f07d1885d
commit + 50ccbcd9a6e4786d4eb726ac8bc3e8565fd7aa48
blob - 8dda6910dd84baa8a3c528fbad1a6aa86fca6ced
blob + b56c9e29023eb5b5864d19e6dd778741a94a26aa
--- gotd/libexec/got-notify-email/got-notify-email.c
+++ gotd/libexec/got-notify-email/got-notify-email.c
@@ -91,7 +91,7 @@ dial(const char *host, const char *port)
 
 	freeaddrinfo(res0);
 	if (s == -1)
-		fatal("%s", cause);
+		fatal("%s %s:%s", cause, host, port);
 	return s;
 }
 
blob - c955054bab3e0db88cf373157014884410ae6d22
blob + 1869c8bbbc78dc4836ee3e49a118ae6bd8caf3e3
--- gotd/libexec/got-notify-http/got-notify-http.c
+++ gotd/libexec/got-notify-http/got-notify-http.c
@@ -89,7 +89,7 @@ dial(const char *host, const char *port)
 
 	freeaddrinfo(res0);
 	if (s == -1)
-		fatal("%s", cause);
+		fatal("%s %s:%s", cause, host, port);
 	return s;
 }