projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc9efa
)
TFTP: fix search of ':' in BootFile
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Thu, 14 Feb 2008 07:02:12 +0000
(08:02 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 14 Feb 2008 22:02:52 +0000
(23:02 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
net/tftp.c
patch
|
blob
|
history
diff --git
a/net/tftp.c
b/net/tftp.c
index 3dd2b06aae16a79e7b94f72bc4e6ef7cc4dbb74d..ea8fea2f7e842a43a76a91a436d76c72968a5181 100644
(file)
--- a/
net/tftp.c
+++ b/
net/tftp.c
@@
-474,7
+474,7
@@
TftpStart (void)
printf ("*** Warning: no boot file name; using '%s'\n",
tftp_filename);
} else {
- char *p = strchr (
p
, ':');
+ char *p = strchr (
BootFile
, ':');
if (p == NULL) {
strncpy(tftp_filename, BootFile, MAX_LEN);