Code

complete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan... 1.3
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 12 Aug 2012 14:37:31 +0000 (14:37 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 12 Aug 2012 14:37:31 +0000 (14:37 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@2297 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 5b185956c44340275b5b2c4c62697f08d29e163d..04d6023d78061bedb781d2a67da619c7bc8792bf 100644 (file)
@@ -2218,7 +2218,7 @@ int horizontal_log_grid(
                         }
                 }
                 else {
-                      sprintf(graph_label_right,im->second_axis_format,sval);
+                      sprintf(graph_label_right,im->second_axis_format,sval,"");
                 }    
     
                 gfx_text ( im,