mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Keep unused parameter for API compatibility
This commit is contained in:
parent
7e6d24420c
commit
d84f285b91
3 changed files with 5 additions and 3 deletions
|
|
@ -27,12 +27,14 @@
|
|||
|
||||
/* nonblocking gethostbyname(), ip (IPADDR) + error (int, 0 = not error) is
|
||||
written to pipe when found PID of the resolver child is returned */
|
||||
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe)
|
||||
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe, int reverse_lookup)
|
||||
{
|
||||
RESOLVED_IP_REC rec;
|
||||
const char *errorstr;
|
||||
int pid;
|
||||
|
||||
(void) reverse_lookup; /* Kept for API backward compatibility */
|
||||
|
||||
g_return_val_if_fail(addr != NULL, FALSE);
|
||||
|
||||
pid = fork();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue