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:
65f5cab
)
Fix pkt_mkopt
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Wed, 31 May 2017 14:11:49 +0000
(16:11 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Wed, 31 May 2017 14:11:49 +0000
(16:11 +0200)
tftp.c
patch
|
blob
|
history
diff --git
a/tftp.c
b/tftp.c
index 5189cbff8b060975b77b676b40c17f4a79346719..de8f765d010214cb3727d52892cabe2d2593e52d 100644
(file)
--- a/
tftp.c
+++ b/
tftp.c
@@
-72,7
+72,7
@@
static inline uint16_t pkt_num(char *pkt)
static char *pkt_mkopt(char *pkt, const char *opt, const char* val)
{
strcpy(pkt, opt);
- pkt += strlen(
pk
t) + 1;
+ pkt += strlen(
op
t) + 1;
strcpy(pkt, val);
pkt += strlen(val) + 1;
return pkt;