mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-09 23:40:18 +00:00
Removed unneeded inline comments around the Win32 error-formatting fallback in errorstring() and simplified matching block-closing lines, without changing behavior.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user