aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 674477ba1..fdc540e90 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -802,13 +802,13 @@ static int hostmatch(const char *hostname, const char *pattern)
if (hostmatch(hostname++,pattern) == HOST_MATCH)
return HOST_MATCH;
}
- return HOST_NOMATCH;
+ break;
}
if (toupper(c) != toupper(*hostname++))
- return HOST_NOMATCH;
+ break;
}
- /* we never reach this point */
+ return HOST_NOMATCH;
}
static int