mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #4684 from GregorR/natt-uninitialized
Fixed a bug failing to check initialization in non-UPnP-supporting setups
This commit is contained in:
commit
8eb32fa824
@ -106,7 +106,7 @@ static bool natt_open_port(struct natt_status *status,
|
||||
int r;
|
||||
|
||||
/* if NAT traversal is uninitialized or unavailable, oh well */
|
||||
if (!urls.controlURL[0])
|
||||
if (!urls.controlURL || !urls.controlURL[0])
|
||||
return false;
|
||||
|
||||
/* figure out the internal info */
|
||||
|
Loading…
x
Reference in New Issue
Block a user