mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-19 03:58:05 -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 {
|
struct SockAddr {
|
||||||
int refcount;
|
int refcount;
|
||||||
char *error;
|
const char *error;
|
||||||
SuperFamily superfamily;
|
SuperFamily superfamily;
|
||||||
#ifndef NO_IPV6
|
#ifndef NO_IPV6
|
||||||
struct addrinfo *ais; /* Addresses IPv6 style. */
|
struct addrinfo *ais; /* Addresses IPv6 style. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user