From 3cff6742f517cc1528ab624d0d10feace21bd8ca Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 25 Feb 2026 02:37:08 -0700 Subject: [PATCH] Removed unneeded inline comments around the Win32 error-formatting fallback in errorstring() and simplified matching block-closing lines, without changing behavior. --- src/common/util.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/common/util.c b/src/common/util.c index 4ad5dedd..f8a5f5bf 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -169,13 +169,12 @@ errorstring (int err) return tbuf; } } - } /* ! if (osvi.dwMajorVersion >= 5) */ + } - /* fallback to error number */ sprintf (tbuf, "%s %d", _("Error"), err); return tbuf; - } /* ! if (err >= WSABASEERR) */ -#endif /* ! WIN32 */ + } +#endif return strerror (err); }