mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy.
This commit is contained in:
parent
424b13823b
commit
c5ed59b37b
@ -1189,6 +1189,7 @@ char *strchr_m(const char *s, char c)
|
||||
while (*s && (((unsigned char)s[0]) & 0x80)) {
|
||||
if (*s == c)
|
||||
return s;
|
||||
s++;
|
||||
}
|
||||
|
||||
if (!*s)
|
||||
|
Loading…
Reference in New Issue
Block a user