1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

Windows: make SockAddr's error field const char *.

We're assigning string literals into it all over the place, so it
should have been const char * all along. No thanks to any of the
compilers that didn't point that out!
This commit is contained in:
Simon Tatham 2022-04-29 11:54:36 +01:00
parent f9bb1f4997
commit 03cfda89d1

View File

@ -103,7 +103,7 @@ typedef enum SuperFamily {
struct SockAddr {
int refcount;
char *error;
const char *error;
SuperFamily superfamily;
#ifndef NO_IPV6
struct addrinfo *ais; /* Addresses IPv6 style. */