Use correct type
This commit is contained in:
parent
525b91d363
commit
a83a32ddf9
1 changed files with 2 additions and 2 deletions
4
tftp.c
4
tftp.c
|
@ -202,8 +202,8 @@ int tftp_put(struct nmrpd_args *args)
|
|||
{
|
||||
struct sockaddr_in addr;
|
||||
uint16_t block;
|
||||
ssize_t len;
|
||||
int fd, sock, ret, timeout, last_len;
|
||||
ssize_t len, last_len;
|
||||
int fd, sock, ret, timeout;
|
||||
char rx[TFTP_PKT_SIZE], tx[TFTP_PKT_SIZE];
|
||||
|
||||
sock = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue