From a83a32ddf9ca6b575a36823ad04907d3c5df847f Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Fri, 5 Feb 2016 20:34:14 +0200 Subject: [PATCH] Use correct type --- tftp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tftp.c b/tftp.c index 57ccc12..a792bc6 100644 --- a/tftp.c +++ b/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; -- 2.25.1