]> asedeno.scripts.mit.edu Git - 1ts-debian.git/commitdiff
oops, actually make the non-ares branch compile
authorkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Sun, 22 Mar 2009 04:44:40 +0000 (04:44 +0000)
committerkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Sun, 22 Mar 2009 04:44:40 +0000 (04:44 +0000)
git-svn-id: svn://svn.1ts.org/debian/branches/zephyr-reloaded@446 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f

zephyr/zwgc/main.c

index 1725c137f5d97e523dfd050faa0e48e09244d1a4..b4886ada5a597920f6ee061fb2eb9bed96b879d3 100644 (file)
@@ -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