You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocserv/ocserv-0.8.0-cmp.patch

14 lines
361 B

diff --git a/src/auth/plain.c b/src/auth/plain.c
index 1b66683..c8ed5bf 100644
--- a/src/auth/plain.c
+++ b/src/auth/plain.c
@@ -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;