diff options
Diffstat (limited to 'lib/string_helpers.c')
| -rw-r--r-- | lib/string_helpers.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lib/string_helpers.c b/lib/string_helpers.c index 5a35c7e16e96..3806a52ce697 100644 --- a/lib/string_helpers.c +++ b/lib/string_helpers.c @@ -361,6 +361,9 @@ static bool escape_special(unsigned char c, char **dst, char *end)  	case '\e':  		to = 'e';  		break; +	case '"': +		to = '"'; +		break;  	default:  		return false;  	} @@ -474,6 +477,7 @@ static bool escape_hex(unsigned char c, char **dst, char *end)   *		'\t' - horizontal tab   *		'\v' - vertical tab   *	%ESCAPE_SPECIAL: + *		'\"' - double quote   *		'\\' - backslash   *		'\a' - alert (BEL)   *		'\e' - escape | 
