mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Fixed a bug failing to check initialization in non-UPnP-supporting
setups
This commit is contained in:
parent
4403734d97
commit
ac9aa4783a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue