mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 10:39:27 +02:00
return empty strings correctly encoded RFC-2231
This commit is contained in:
parent
7cf582a41e
commit
a7cf9baf07
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ char* mr_encode_ext_header(const char* to_encode)
|
|||
const char *pstr = to_encode;
|
||||
|
||||
if( to_encode == NULL ) {
|
||||
return safe_strdup("");
|
||||
return safe_strdup(PREFIX);
|
||||
}
|
||||
|
||||
char *buf = malloc(strlen(PREFIX) + strlen(to_encode) * 3 + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue