mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:43:32 +03:00
parent
2e770b33e8
commit
dd71f61ea2
53 changed files with 65 additions and 84 deletions
|
|
@ -1881,7 +1881,7 @@ static CURLcode smtp_parse_address(const char *fqma, char **address,
|
|||
|
||||
/* Duplicate the fully qualified email address so we can manipulate it,
|
||||
ensuring it does not contain the delimiters if specified */
|
||||
char *dup = strdup(fqma[0] == '<' ? fqma + 1 : fqma);
|
||||
char *dup = strdup(fqma[0] == '<' ? fqma + 1 : fqma);
|
||||
if(!dup)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue