mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
corrected string comparison
This commit is contained in:
@@ -266,7 +266,7 @@ static size_t rehash(const void *_e, void *unused)
|
||||
|
||||
static bool str_cmp(const void* _c1, void* _c2)
|
||||
{
|
||||
const char *c1 = _c1, *c2 = c2;
|
||||
const char *c1 = _c1, *c2 = _c2;
|
||||
|
||||
if (strcmp(c1, c2) == 0)
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user