Signed-off-by: Colin McCabe <[email protected]>
---
 server/cldu.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/server/cldu.c b/server/cldu.c
index 0cf687f..da5f55f 100644
--- a/server/cldu.c
+++ b/server/cldu.c
@@ -615,8 +615,12 @@ int cld_begin(const char *thishost, const char *thiscell, 
uint32_t nid,
        if (!ses.forced_hosts) {
                GList *tmp, *host_list = NULL;
                int i;
+               struct hail_log hail_log = {
+                       .func = applog,
+                       .verbose = debugging,
+               };
 
-               if (cldc_getaddr(&host_list, thishost, debugging, applog)) {
+               if (cldc_getaddr(&host_list, thishost, &hail_log)) {
                        /* Already logged error */
                        goto err_addr;
                }
@@ -692,6 +696,10 @@ void cldu_add_host(const char *hostname, unsigned int port)
        static struct cld_session *sp = &ses;
        struct cld_host *hp;
        int i;
+       struct hail_log hail_log = {
+               .func = applog,
+               .verbose = debugging,
+       };
 
        for (i = 0; i < N_CLD; i++) {
                hp = &sp->cldv[i];
@@ -702,7 +710,7 @@ void cldu_add_host(const char *hostname, unsigned int port)
                return;
 
        if (cldc_saveaddr(&hp->h, 100, 100, port, strlen(hostname), hostname,
-                         debugging, applog))
+                         &hail_log))
                return;
        hp->known = 1;
 
-- 
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to