projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d006efe
)
Attempt to silence bogus compiler warning: "Potential null pointer dereference"
author
Yang Tse
<yangsita@gmail.com>
Thu, 17 Sep 2009 15:33:32 +0000
(15:33 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 17 Sep 2009 15:33:32 +0000
(15:33 +0000)
tests/server/tftpd.c
patch
|
blob
|
history
diff --git
a/tests/server/tftpd.c
b/tests/server/tftpd.c
index
6014842
..
f3e521b
100644
(file)
--- a/
tests/server/tftpd.c
+++ b/
tests/server/tftpd.c
@@
-623,7
+623,7
@@
again:
/* store input protocol */
fprintf(server, "filename: %s\n", filename);
- for (cp = mode; *cp; cp++)
+ for (cp = mode;
cp &&
*cp; cp++)
if(ISUPPER(*cp))
*cp = (char)tolower((int)*cp);