Skip to contentSkip to conversation

chunkd: hide cldc_init inside cldu.c

PATCH In review Pete Zaitcev 2 participants 2 messages Aug 11, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 chunkd: hide cldc_init inside cldu.c

server/cldu.c +2 -0
index 172c5cc..74bbd22 100644
@@ -507,6 +507,8 @@ int cld_begin(const char *thishost, const char *thiscell, uint32_t nid,
 
 	cld_ops.printf = log;
 
+	cldc_init();
+
 	/*
 	 * As long as we permit pre-seeding lists of CLD hosts,
 	 * we cannot wipe our session anymore. Note though, as long
server/server.c +0 -1
index 961b5c3..9ac2b32 100644
@@ -1193,7 +1193,6 @@ int main (int argc, char *argv[])
 
 	g_thread_init(NULL);
 	SSL_library_init();
-	cldc_init();
 
 	/* init SSL */
 	SSL_load_error_strings();