projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
525b91d
)
Use correct type
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Fri, 5 Feb 2016 18:34:14 +0000
(20:34 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Fri, 5 Feb 2016 18:34:14 +0000
(20:34 +0200)
tftp.c
patch
|
blob
|
history
diff --git
a/tftp.c
b/tftp.c
index 57ccc12c9034b02e87a021f044d2d5a45de3f7a6..a792bc62fcace3e5b42eb97f67fc56aa7e3c7e0b 100644
(file)
--- 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;