[grisbi-cvs] grisbi/src gsb_scheduler.c,1.22,1.23

Pierre Biava pbiava at users.sourceforge.net
Mon Mar 16 22:21:15 CET 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22751

Modified Files:
	gsb_scheduler.c 
Log Message:
pbiava on 03/16/2009 remove the crash when you execute the split transaction from the planner.
Warning to risk side effect

Index: gsb_scheduler.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_scheduler.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- gsb_scheduler.c	26 Oct 2008 23:11:36 -0000	1.22
+++ gsb_scheduler.c	16 Mar 2009 21:21:12 -0000	1.23
@@ -428,8 +428,10 @@
 	gint child_number;
 
 	child_number = GPOINTER_TO_INT ( children_numbers_list -> data );
-
-	gsb_scheduler_create_transaction_from_scheduled_transaction ( child_number,
+    /* pbiava the 03/16/2009 supprime le crash quand on execute la transaction
+     * a partir du planificateur risque d'effet de bord */
+    if ( child_number > 0 )
+        gsb_scheduler_create_transaction_from_scheduled_transaction ( child_number,
 								      transaction_number );
 
 	children_numbers_list = children_numbers_list -> next;



More information about the cvs mailing list