Minor coding style fix in tftp.c

This commit is contained in:
Dirk Ziegelmeier 2018-10-09 09:07:08 +02:00
parent 27835fd798
commit f61e57965f

View File

@ -132,7 +132,8 @@ init_packet(int opcode, int extra, int size)
} }
static void 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 fname_length = strlen(fname)+1;
size_t mode_length = strlen(mode)+1; size_t mode_length = strlen(mode)+1;
struct pbuf* p = init_packet(opcode, 0, -2 + fname_length + mode_length); struct pbuf* p = init_packet(opcode, 0, -2 + fname_length + mode_length);