mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
44b93c4e1f
PR: 40849 Submitted by: Tilman Linneweh <tilman@arved.de> * Requires perl to build. * Don't overwrite optimization level passed in CFLAGS. * Fix build with gcc3.1 (-CURRENT). Reviewed by: Tilman Linneweh <tilman@arved.de> * There are serious LP64 issues; only build on i386.
21 lines
522 B
Plaintext
21 lines
522 B
Plaintext
--- tcp_subr.c.orig Sun Jul 21 19:23:18 2002
|
|
+++ tcp_subr.c Sun Jul 21 19:25:12 2002
|
|
@@ -241,7 +241,7 @@
|
|
* then send a RST to peer.
|
|
*/
|
|
struct tcpcb *
|
|
-tcp_drop(struct tcpcb *tp, int errno) {
|
|
+tcp_drop(struct tcpcb *tp, int err) {
|
|
/* tcp_drop(tp, errno)
|
|
register struct tcpcb *tp;
|
|
int errno;
|
|
@@ -250,7 +250,7 @@
|
|
|
|
DEBUG_CALL("tcp_drop");
|
|
DEBUG_ARG("tp = %lx", (long)tp);
|
|
- DEBUG_ARG("errno = %d", errno);
|
|
+ DEBUG_ARG("errno = %d", err);
|
|
|
|
if (TCPS_HAVERCVDSYN(tp->t_state)) {
|
|
tp->t_state = TCPS_CLOSED;
|