version 1.11, 2009/10/27 23:59:44 |
version 1.12, 2010/08/12 23:31:29 |
|
|
sizeof (response.addr)) != -1) |
sizeof (response.addr)) != -1) |
return (1); |
return (1); |
} while (errno == EINTR); |
} while (errno == EINTR); |
|
|
if (errno == ECONNREFUSED) { |
if (errno == ECONNREFUSED) { |
/* |
/* |
* The caller gave up, but his invitation somehow |
* The caller gave up, but his invitation somehow |
|
|
ctl_transact(his_machine_addr, msg, LOOK_UP, rp); |
ctl_transact(his_machine_addr, msg, LOOK_UP, rp); |
/* the switch is for later options, such as multiple invitations */ |
/* the switch is for later options, such as multiple invitations */ |
switch (rp->answer) { |
switch (rp->answer) { |
|
|
case SUCCESS: |
case SUCCESS: |
msg.id_num = htonl(rp->id_num); |
msg.id_num = htonl(rp->id_num); |
return (1); |
return (1); |
|
|
default: |
default: |
/* there wasn't an invitation waiting for us */ |
/* there wasn't an invitation waiting for us */ |
return (0); |
return (0); |