mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove braces around string initializers (#GH-17451)
While MSVC is apparently fine with that, Clang complains about it (`-Wbraced-scalar-init`).
This commit is contained in:
parent
e6f42c1ed0
commit
c264679fb4
1 changed files with 22 additions and 22 deletions
|
@ -65,28 +65,28 @@ char *php_mailer = "PHP 7 WIN32";
|
||||||
/* Error messages */
|
/* Error messages */
|
||||||
static char *ErrorMessages[] =
|
static char *ErrorMessages[] =
|
||||||
{
|
{
|
||||||
{"Success"}, /* 0 */
|
"Success", /* 0 */
|
||||||
{"Bad arguments from form"}, /* 1 */
|
"Bad arguments from form", /* 1 */
|
||||||
{"Unable to open temporary mailfile for read"},
|
"Unable to open temporary mailfile for read",
|
||||||
{"Failed to Start Sockets"},
|
"Failed to Start Sockets",
|
||||||
{"Failed to Resolve Host"},
|
"Failed to Resolve Host",
|
||||||
{"Failed to obtain socket handle"}, /* 5 */
|
"Failed to obtain socket handle", /* 5 */
|
||||||
{"Failed to connect to mailserver, verify your \"SMTP\" setting in php.ini"},
|
"Failed to connect to mailserver, verify your \"SMTP\" setting in php.ini",
|
||||||
{"Failed to Send"},
|
"Failed to Send",
|
||||||
{"Failed to Receive"},
|
"Failed to Receive",
|
||||||
{"Server Error"},
|
"Server Error",
|
||||||
{"Failed to resolve the host IP name"}, /* 10 */
|
"Failed to resolve the host IP name", /* 10 */
|
||||||
{"Out of memory"},
|
"Out of memory",
|
||||||
{"Unknown error"},
|
"Unknown error",
|
||||||
{"Bad Message Contents"},
|
"Bad Message Contents",
|
||||||
{"Bad Message Subject"},
|
"Bad Message Subject",
|
||||||
{"Bad Message destination"}, /* 15 */
|
"Bad Message destination", /* 15 */
|
||||||
{"Bad Message Return Path"},
|
"Bad Message Return Path",
|
||||||
{"Bad Mail Host"},
|
"Bad Mail Host",
|
||||||
{"Bad Message File"},
|
"Bad Message File",
|
||||||
{"\"sendmail_from\" not set in php.ini or custom \"From:\" header missing"},
|
"\"sendmail_from\" not set in php.ini or custom \"From:\" header missing",
|
||||||
{"Mailserver rejected our \"sendmail_from\" setting"}, /* 20 */
|
"Mailserver rejected our \"sendmail_from\" setting", /* 20 */
|
||||||
{"Error while trimming mail header with PCRE, please file a bug report at https://github.com/php/php-src/issues"} /* 21 */
|
"Error while trimming mail header with PCRE, please file a bug report at https://github.com/php/php-src/issues" /* 21 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This pattern converts all single occurrences of \n (Unix)
|
/* This pattern converts all single occurrences of \n (Unix)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue