Fixed warning

This commit is contained in:
Sukchan Lee
2023-01-24 19:06:01 +09:00
parent b108ae0aff
commit 43eb5f3d7f

View File

@@ -464,7 +464,7 @@ int ogs_sockaddr_to_ip(
ogs_error("No IP"); ogs_error("No IP");
return OGS_ERROR; return OGS_ERROR;
} }
if (!addr && !addr) { if (!addr && !addr6) {
ogs_error("No Address"); ogs_error("No Address");
return OGS_ERROR; return OGS_ERROR;
} }