From 61ed77ad44e2a3cc4f32d81b616df58f9db16da4 Mon Sep 17 00:00:00 2001 From: DreamNik Date: Sun, 29 Sep 2013 14:45:58 +0400 Subject: [PATCH] test bug fix1 --- dbus/dbus-marshal-recursive-util.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-marshal-recursive-util.c b/dbus/dbus-marshal-recursive-util.c index 4a42b47..cd48b88 100644 --- a/dbus/dbus-marshal-recursive-util.c +++ b/dbus/dbus-marshal-recursive-util.c @@ -1774,10 +1774,13 @@ make_and_run_test_nodes (void) start_next_test ("All values in one big toplevel %d iteration\n", 1); { TestTypeNode *nodes[N_VALUES]; + TestTypeNode *node; i = 0; - while ((nodes[i] = value_generator (&i))) - ; + while ((node = value_generator (&i))) + { + nodes[i-1]=node; + } run_test_nodes (nodes, N_VALUES); -- 1.8.3.msysgit.0