aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-09 22:00:42 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-09 22:00:42 +0200
commitb0f6fe6ba4e093b7bef6d5fad895d71f17becbf4 (patch)
tree57538f78ed3cdece60447eb61c7ace10e2d89638
parenta3f749ca5b86e6a27c1ad36f1b54febad3befe63 (diff)
downloadtcp-b0f6fe6ba4e093b7bef6d5fad895d71f17becbf4.tar.gz
Remove extra brackets
-rw-r--r--utils.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/utils.c b/utils.c
index 694fa65..8d1d073 100644
--- a/utils.c
+++ b/utils.c
@@ -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);
}