mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-28 11:58:30 +01:00
fix rtl_tcp error on windows when hints not initialized to 0
This commit is contained in:
parent
8c59802348
commit
234877f1b7
@ -386,7 +386,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
Block a user