forked from sdr/rtl-sdr
fix rtl_tcp error on windows when hints not initialized to 0
This commit is contained in:
parent
6ca9082aec
commit
178267c399
|
@ -385,7 +385,7 @@ int main(int argc, char **argv)
|
|||
struct sockaddr_storage local, remote;
|
||||
struct addrinfo *ai;
|
||||
struct addrinfo *aiHead;
|
||||
struct addrinfo hints;
|
||||
struct addrinfo hints = { 0 };
|
||||
char hostinfo[NI_MAXHOST];
|
||||
char portinfo[NI_MAXSERV];
|
||||
char remhostinfo[NI_MAXHOST];
|
||||
|
|
Loading…
Reference in New Issue