diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2022-11-09 22:00:42 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2022-11-09 22:00:42 +0200 |
commit | b0f6fe6ba4e093b7bef6d5fad895d71f17becbf4 (patch) | |
tree | 57538f78ed3cdece60447eb61c7ace10e2d89638 | |
parent | a3f749ca5b86e6a27c1ad36f1b54febad3befe63 (diff) | |
download | tcp-b0f6fe6ba4e093b7bef6d5fad895d71f17becbf4.tar.gz |
Remove extra brackets
-rw-r--r-- | utils.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -37,9 +37,7 @@ warning_va (const char *msg, va_list va) fprintf (stderr, "%s: WARNING: ", progname); vfprintf (stderr, msg, va); if (errno) - { - fprintf (stderr, ": %s", strerror (errno)); - } + fprintf (stderr, ": %s", strerror (errno)); fputs ("\n", stderr); } @@ -59,9 +57,7 @@ fatal_va (const char *msg, va_list va) fprintf (stderr, "%s: FATAL: ", progname); vfprintf (stderr, msg, va); if (errno) - { - fprintf (stderr, ": %s", strerror (errno)); - } + fprintf (stderr, ": %s", strerror (errno)); fputs ("\n", stderr); } |