summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2009-03-22 04:44:40 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2009-03-22 04:44:40 +0000
commit1b36ca3fc669ccbfeef7b3901531710998db9113 (patch)
treeccbf097baf5e6b8a5e289e3888eb247aabd0cfa5 /zwgc
parentc37c1eb6675a452c95bd4f761fc9e28934eb29ad (diff)
oops, actually make the non-ares branch compile
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zwgc/main.c b/zwgc/main.c
index 1725c13..b4886ad 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -417,11 +417,11 @@ notice_handler(ZNotice_t *notice)
notice_callback, notice);
#else
- ret = getnameinfo((const struct sockaddr *)&(notice->z_sender_sockaddr),
- sizeof(notice->z_sender_sockaddr),
- node, sizeof(node), NULL, 0, 0);
+ getnameinfo((const struct sockaddr *)&(notice->z_sender_sockaddr),
+ sizeof(notice->z_sender_sockaddr),
+ node, sizeof(node), NULL, 0, 0);
- process_notice(notice, fromhost ? fromhost->h_name : NULL);
+ process_notice(notice, node);
#ifdef CMU_ZWGCPLUS
/* Let list_del_notice clean up for us. */
#else