Commit c591e59c authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

HTTP Upload Controller: don't fail to return the IP if there is no need to fail

parent 77394291
......@@ -108,7 +108,7 @@
struct ifaddrs *temp_addr = NULL;
int success = getifaddrs(&interfaces);
if (!success) {
if (success != 0) {
freeifaddrs(interfaces);
return address;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment