From 43eb5f3d7f33e843da5f7dfed1f317990ca89603 Mon Sep 17 00:00:00 2001 From: Sukchan Lee Date: Tue, 24 Jan 2023 19:06:01 +0900 Subject: [PATCH] Fixed warning --- lib/proto/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/proto/types.c b/lib/proto/types.c index 7c87e8204..e5fb5cba1 100644 --- a/lib/proto/types.c +++ b/lib/proto/types.c @@ -464,7 +464,7 @@ int ogs_sockaddr_to_ip( ogs_error("No IP"); return OGS_ERROR; } - if (!addr && !addr) { + if (!addr && !addr6) { ogs_error("No Address"); return OGS_ERROR; }