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:
parent
f9bb1f4997
commit
03cfda89d1
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user