[BusyBox-cvs] busybox/libbb xconnect.c,1.10,1.11
Erik Andersen
andersen at busybox.net
Tue Dec 23 20:37:57 UTC 2003
Update of /var/cvs/busybox/libbb
In directory nail:/tmp/cvs-serv6815/libbb
Modified Files:
xconnect.c
Log Message:
fix broken formatting
Index: xconnect.c
===================================================================
RCS file: /var/cvs/busybox/libbb/xconnect.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- xconnect.c 23 Dec 2003 20:37:23 -0000 1.10
+++ xconnect.c 23 Dec 2003 20:37:54 -0000 1.11
@@ -39,9 +39,9 @@
if (errno != 0 || *endptr!='\0' || endptr==port || port_long < 0 || port_long > 65535) {
struct servent *tserv = getservbyname(port, "tcp");
if (tserv) {
- port_nr = tserv->s_port;
- }
- } else {
+ port_nr = tserv->s_port;
+ }
+ } else {
port_nr = htons(port_long);
}
errno = old_errno;
More information about the busybox-cvs
mailing list