always output error message in crash_and_burn()

This aligns crash_and_burn() with errno_crash_and_burn()
and addresses issue #300.
pull/306/head
Erik Auerswald 11 months ago committed by David Schweikert
parent 4151976986
commit c3a2f2c7cc

@ -2680,9 +2680,7 @@ void add_addr(char *name, char *host, struct sockaddr *ipaddr, socklen_t ipaddr_
void crash_and_burn(char *message) void crash_and_burn(char *message)
{ {
if (verbose_flag) fprintf(stderr, "%s: %s\n", prog, message);
fprintf(stderr, "%s: %s\n", prog, message);
exit(4); exit(4);
} }

Loading…
Cancel
Save