mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
Fixed uninitialized variable.
This commit is contained in:
parent
569edcb04e
commit
82d437ee4f
1 changed files with 3 additions and 1 deletions
|
@ -267,7 +267,9 @@ Sys_StringToSockaddr
|
||||||
*/
|
*/
|
||||||
static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int sadr_len, sa_family_t family)
|
static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int sadr_len, sa_family_t family)
|
||||||
{
|
{
|
||||||
struct addrinfo hints, *res = NULL, *search;
|
struct addrinfo hints;
|
||||||
|
struct addrinfo *res = NULL;
|
||||||
|
struct addrinfo *search = NULL;
|
||||||
struct addrinfo *hintsp;
|
struct addrinfo *hintsp;
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue