]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: Remove extra (and incorrect) error map value (#2238)
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Thu, 11 Sep 2025 14:49:16 +0000 (14:49 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 11 Sep 2025 14:49:24 +0000 (14:49 +0000)
ERROR_INVALID_HANDLE is already (correctly) defined as EBADF.

compat/win32_maperror.cc

index d387baaec503929e1981b0e7b9eabc543195eec2..791669d54c54458f2cc7ce9af8acd7417bad19e8 100644 (file)
@@ -51,7 +51,6 @@ WIN32_maperror(unsigned long WIN32_oserrno)
         {ERROR_BROKEN_PIPE, EPIPE},
         {ERROR_DISK_FULL, ENOSPC},
         {ERROR_INVALID_TARGET_HANDLE, EBADF},
-        {ERROR_INVALID_HANDLE, EINVAL},
         {ERROR_WAIT_NO_CHILDREN, ECHILD},
         {ERROR_CHILD_NOT_COMPLETE, ECHILD},
         {ERROR_DIRECT_ACCESS_HANDLE, EBADF},