diff options
author | ru <ru@FreeBSD.org> | 2000-10-30 17:24:12 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-10-30 17:24:12 +0000 |
commit | e25226e0c4caaa3e1286b3e6cc56cf4d56b14046 (patch) | |
tree | 7972ca1d2c33fe43ba4c6d4cd73e260049eb64ea /lib/libalias/alias_irc.c | |
parent | 32aa5600750763e560e98e2d369a7c4d6497078b (diff) | |
download | FreeBSD-src-e25226e0c4caaa3e1286b3e6cc56cf4d56b14046.zip FreeBSD-src-e25226e0c4caaa3e1286b3e6cc56cf4d56b14046.tar.gz |
Added boolean argument to link searching functions, indicating
whether they should create a link if lookup has failed or not.
Diffstat (limited to 'lib/libalias/alias_irc.c')
-rw-r--r-- | lib/libalias/alias_irc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libalias/alias_irc.c b/lib/libalias/alias_irc.c index 8c52c1f..afd032d 100644 --- a/lib/libalias/alias_irc.c +++ b/lib/libalias/alias_irc.c @@ -216,10 +216,9 @@ lFOUND_CTCP: /* Steal the FTP_DATA_PORT - it doesn't really matter, and this would probably allow it through at least _some_ firewalls. */ - dcc_link = FindUdpTcpOut (true_addr, - destaddr, - true_port, - 0, IPPROTO_TCP); + dcc_link = FindUdpTcpOut(true_addr, destaddr, + true_port, 0, + IPPROTO_TCP, 1); DBprintf(("Got a DCC link\n")); if ( dcc_link ) { struct in_addr alias_address; /* Address from aliasing */ |