Merge 3f777ce5e2
into b0aa690cb4
This commit is contained in:
commit
7689bee6aa
@ -76,6 +76,12 @@ static int msg_check_escapes(const char* string, size_t len)
|
|||||||
case '\\':
|
case '\\':
|
||||||
case 'n':
|
case 'n':
|
||||||
case 's':
|
case 's':
|
||||||
|
/* Increment so we don't check the escaped
|
||||||
|
* character next time around. Not doing so
|
||||||
|
* leads to messages with escaped backslashes
|
||||||
|
* being incorrectly reported as having invalid
|
||||||
|
* escapes. */
|
||||||
|
++start;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user