!5 修正缩进风格
Merge pull request !5 from Caoruihong/caoruihong_20200914105449
This commit is contained in:
parent
aef38baf44
commit
9c10570033
|
@ -225,14 +225,14 @@ int netstat_netconn_sendq(struct netconn *conn);
|
|||
} \
|
||||
}
|
||||
|
||||
#define ERR_IFCONFIG_STRING_PUT(ret, str) do \
|
||||
{ \
|
||||
#define ERR_IFCONFIG_STRING_PUT(ret, str) \
|
||||
do { \
|
||||
(ret) = snprintf_s(ifconfig_cmd->cb_print_buf + ifconfig_cmd->print_len, \
|
||||
PRINT_BUF_LEN - ifconfig_cmd->print_len, \
|
||||
((PRINT_BUF_LEN - ifconfig_cmd->print_len) - 1), (str)); \
|
||||
if (((ret) > 0) && ((unsigned int)(ret) < (PRINT_BUF_LEN - ifconfig_cmd->print_len))) \
|
||||
ifconfig_cmd->print_len += (unsigned int)(ret); \
|
||||
} while(0)
|
||||
} while (0) \
|
||||
|
||||
#define LWIP_MSECS_TO_SECS(time_in_msecs) (time_in_msecs / 1000)
|
||||
struct ifconfig_option {
|
||||
|
@ -2389,10 +2389,10 @@ LWIP_STATIC int create_ping6_socket(u8_t type, const void *param)
|
|||
}
|
||||
|
||||
/*
|
||||
Function to parse the command line args for ping6 shell utility
|
||||
@return:
|
||||
Success: ERR_OK
|
||||
Failure: -1
|
||||
* Function to parse the command line args for ping6 shell utility
|
||||
* @return:
|
||||
* Success: ERR_OK
|
||||
* Failure: -1
|
||||
*/
|
||||
LWIP_STATIC int parse_args_ping6(int argc, const char **argv, ping6_args_t *ping6_params)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue