mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
updated to libopts 5.18.2
This commit is contained in:
+2
-2
@@ -243,7 +243,7 @@ strequate(char const* s)
|
||||
if ((s != NULL) && (*s != NUL)) {
|
||||
unsigned char equiv = (unsigned char)*s;
|
||||
while (*s != NUL)
|
||||
charmap[ (unsigned)*(s++) ] = equiv;
|
||||
charmap[(unsigned char)*(s++)] = equiv;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@ void
|
||||
strtransform(char* d, char const* s)
|
||||
{
|
||||
do {
|
||||
*(d++) = (char)charmap[ (unsigned)*s ];
|
||||
*(d++) = (char)charmap[(unsigned char)*s];
|
||||
} while (*(s++) != NUL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user