sout: dlna: simplify `GetServerIPAddress`
Prefer using the UPNP API calls to get the selected interface's IP address. The code removed is unnecessarily complex as the correct IP address should already be available and exposed by libupnp. Also avoids an unhandled `strdup(nullptr)` in case of error.
Loading
Please register or sign in to comment