[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox-cvs
Subject: [BusyBox-cvs] busybox/libbb xconnect.c,1.10,1.11
From: andersen () busybox ! net (Erik Andersen)
Date: 2003-12-23 13:37:58
Message-ID: 20031223203757.1BAA5B40CB () codepoet ! org
[Download RAW message or body]
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic