git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
e233f06
)
solaris-x86-port-already-htons-20030414
author
Joakim Fallsjö
<fallsjo@isk.kth.se>
Mon, 14 Apr 2003 16:45:54 +0000 (16:45 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 14 Apr 2003 16:45:54 +0000 (16:45 +0000)
rx_port is already htons() and htons is a NULL-op on sparc but not on x86...
make shutdown actually work on x86 solaris
src/rx/SOLARIS/rx_knet.c
patch
|
blob
|
history
diff --git
a/src/rx/SOLARIS/rx_knet.c
b/src/rx/SOLARIS/rx_knet.c
index
9db15d9
..
a553d55
100644
(file)
--- a/
src/rx/SOLARIS/rx_knet.c
+++ b/
src/rx/SOLARIS/rx_knet.c
@@
-296,7
+296,7
@@
int osi_FreeSocket(register struct osi_socket *asocket)
AFS_STATCNT(osi_FreeSocket);
taddr.sin_family = AF_INET;
- taddr.sin_port = htons(rx_port);
+ taddr.sin_port = rx_port;
taddr.sin_addr.s_addr = htonl(0x7f000001);
dvec.iov_base = &c;