mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Minor coding style fix in tftp.c
This commit is contained in:
parent
27835fd798
commit
f61e57965f
@ -132,7 +132,8 @@ init_packet(int opcode, int extra, int size)
|
||||
}
|
||||
|
||||
static void
|
||||
send_request(const ip_addr_t *addr, u16_t port, int opcode, const char* fname, const char* mode) {
|
||||
send_request(const ip_addr_t *addr, u16_t port, int opcode, const char* fname, const char* mode)
|
||||
{
|
||||
size_t fname_length = strlen(fname)+1;
|
||||
size_t mode_length = strlen(mode)+1;
|
||||
struct pbuf* p = init_packet(opcode, 0, -2 + fname_length + mode_length);
|
||||
|
Loading…
Reference in New Issue
Block a user