projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure stdlib.h is always included before dmalloc.h to avoid problems
[oweals/busybox.git]
/
networking
/
telnet.c
diff --git
a/networking/telnet.c
b/networking/telnet.c
index 110c9d151a36daa29ed98050cdf6c75401608c7a..1b71bf26ab93867e5a89fcc5e64ee14b73bf75c0 100644
(file)
--- a/
networking/telnet.c
+++ b/
networking/telnet.c
@@
-599,7
+599,7
@@
extern int telnet_main(int argc, char** argv)
bb_show_usage();
bb_lookup_host(&s_in, argv[1]);
- s_in.sin_port = bb_lookup_port((argc == 3) ? argv[2] : "telnet", 23);
+ s_in.sin_port = bb_lookup_port((argc == 3) ? argv[2] : "telnet",
"tcp",
23);
G.netfd = xconnect(&s_in);