From 7dcbf6d0b3b547e6ad24f70e64785e1e492237de Mon Sep 17 00:00:00 2001
From: Frederic Culot <calcurse@culot.org>
Date: Tue, 12 Sep 2006 15:08:21 +0000
Subject: calls to apoint_llist_init() and recur_apoint_llist_init() added

---
 src/calcurse.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/calcurse.c b/src/calcurse.c
index 7c9be7d..c7e4995 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/*	$calcurse: calcurse.c,v 1.15 2006/09/11 13:43:42 culot Exp $	*/
+/*	$calcurse: calcurse.c,v 1.16 2006/09/12 15:08:21 culot Exp $	*/
 
 /*
  * Calcurse - text-based organizer
@@ -136,6 +136,10 @@ int main(int argc, char **argv)
         textdomain (PACKAGE);
 #endif /* ENABLE_NLS */
 		
+	/* Thread-safe data structure init */
+	apoint_llist_init();
+	recur_apoint_llist_init();
+
 	/* 
 	 * Begin by parsing and handling command line arguments.
 	 * The data path is also initialized here.
@@ -930,7 +934,7 @@ void add_item(void)
         char item_time[MAX_LENGTH];
 	char item_mesg[MAX_LENGTH];
 	long apoint_duration;
-	struct apoint_s *apoint_pointeur;
+	apoint_llist_node_t *apoint_pointeur;
         struct event_s *event_pointeur;
 	unsigned heures, minutes;
 	unsigned end_h, end_m;
-- 
cgit v1.2.3-70-g09d2