Awkward API: a Glib's list must be NULL at the start, and cldc_getaddr
appends to an existing list.

Signed-off-by: Pete Zaitcev <[email protected]>

diff --git a/server/cldu.c b/server/cldu.c
index 9ce61b7..f1c2d4d 100644
--- a/server/cldu.c
+++ b/server/cldu.c
@@ -583,7 +583,7 @@ int cld_begin(const char *thishost, const char *thiscell,
        }
 
        if (!ses.forced_hosts) {
-               GList *tmp, *host_list;
+               GList *tmp, *host_list = NULL;
                int i;
 
                if (cldc_getaddr(&host_list, thishost, debugging, applog)) {
--
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