mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
163fc125cd
This is a tricky one, it used to work, but it was wrong, because in such
a scenario instead of passing NULL as required by the API, it would pass
a buffer containing the `\0` terminator.
This stopped working on a specific miniupnpc version, when they fixed
some network endianess issue on Windows, to which we made a workaround,
which in turn would probably result in failures when the interface is
specified.
This commit address the issue properly, by checking the specified
interface string size, and correctly passing NULL instead of the empty
string when necessary.
Also reverts the commit that introduced the bogus workaround:
|
||
---|---|---|
.. | ||
doc_classes | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
upnp_device.cpp | ||
upnp_device.h | ||
upnp.cpp | ||
upnp.h |