mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir Dronnikov
This commit is contained in:
parent
b565a12cf8
commit
cfc8f59649
@ -5256,7 +5256,7 @@ memtodest(const char *p, size_t len, int syntax, int quotes) {
|
|||||||
q = makestrspace(len * 2, q);
|
q = makestrspace(len * 2, q);
|
||||||
|
|
||||||
while (len--) {
|
while (len--) {
|
||||||
int c = (unsigned char)*p++;
|
int c = *p++;
|
||||||
if (!c)
|
if (!c)
|
||||||
continue;
|
continue;
|
||||||
if (quotes && (SIT(c, syntax) == CCTL || SIT(c, syntax) == CBACK))
|
if (quotes && (SIT(c, syntax) == CCTL || SIT(c, syntax) == CBACK))
|
||||||
|
Loading…
Reference in New Issue
Block a user