Commit 5408a55
committed
Consolidate Win32-specific error formatting
GetErrorReason()'s Win32 implementation does the same thing as
Win32ErrorString(int err) from syserror.cpp, so call the latter.
Also remove now-unnecessary headers from sock.cpp and less verbose
handling of #ifdefs.1 parent c95a443 commit 5408a55
2 files changed
+3
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 84 | + | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
| |||
416 | 411 | | |
417 | 412 | | |
418 | 413 | | |
419 | | - | |
420 | 414 | | |
421 | 415 | | |
| 416 | + | |
422 | 417 | | |
423 | | - | |
424 | 418 | | |
425 | | - | |
426 | | - | |
427 | 419 | | |
428 | 420 | | |
429 | | - | |
430 | 421 | | |
| 422 | + | |
0 commit comments