mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
Reformat err.c using astylerc
This commit is contained in:
parent
2b977a4a6a
commit
75847c8b4d
@ -78,23 +78,23 @@ err_to_errno(err_t err)
|
|||||||
#ifdef LWIP_DEBUG
|
#ifdef LWIP_DEBUG
|
||||||
|
|
||||||
static const char *err_strerr[] = {
|
static const char *err_strerr[] = {
|
||||||
"Ok.", /* ERR_OK 0 */
|
"Ok.", /* ERR_OK 0 */
|
||||||
"Out of memory error.", /* ERR_MEM -1 */
|
"Out of memory error.", /* ERR_MEM -1 */
|
||||||
"Buffer error.", /* ERR_BUF -2 */
|
"Buffer error.", /* ERR_BUF -2 */
|
||||||
"Timeout.", /* ERR_TIMEOUT -3 */
|
"Timeout.", /* ERR_TIMEOUT -3 */
|
||||||
"Routing problem.", /* ERR_RTE -4 */
|
"Routing problem.", /* ERR_RTE -4 */
|
||||||
"Operation in progress.", /* ERR_INPROGRESS -5 */
|
"Operation in progress.", /* ERR_INPROGRESS -5 */
|
||||||
"Illegal value.", /* ERR_VAL -6 */
|
"Illegal value.", /* ERR_VAL -6 */
|
||||||
"Operation would block.", /* ERR_WOULDBLOCK -7 */
|
"Operation would block.", /* ERR_WOULDBLOCK -7 */
|
||||||
"Address in use.", /* ERR_USE -8 */
|
"Address in use.", /* ERR_USE -8 */
|
||||||
"Already connecting.", /* ERR_ALREADY -9 */
|
"Already connecting.", /* ERR_ALREADY -9 */
|
||||||
"Already connected.", /* ERR_ISCONN -10 */
|
"Already connected.", /* ERR_ISCONN -10 */
|
||||||
"Not connected.", /* ERR_CONN -11 */
|
"Not connected.", /* ERR_CONN -11 */
|
||||||
"Low-level netif error.", /* ERR_IF -12 */
|
"Low-level netif error.", /* ERR_IF -12 */
|
||||||
"Connection aborted.", /* ERR_ABRT -13 */
|
"Connection aborted.", /* ERR_ABRT -13 */
|
||||||
"Connection reset.", /* ERR_RST -14 */
|
"Connection reset.", /* ERR_RST -14 */
|
||||||
"Connection closed.", /* ERR_CLSD -15 */
|
"Connection closed.", /* ERR_CLSD -15 */
|
||||||
"Illegal argument." /* ERR_ARG -16 */
|
"Illegal argument." /* ERR_ARG -16 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user