prepare for the release of rrdtool-1.3rc3
[rrdtool.git] / src / rrd_graph_helper.c
index 44f2c17..887761a 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * RRDtool 1.2.99907080300  Copyright by Tobi Oetiker, 1997-2007
+ * RRDtool 1.3rc3  Copyright by Tobi Oetiker, 1997-2008
  ****************************************************************************
  * rrd_graph_helper.c  commandline parser functions 
  *                     this code initially written by Alex van den Bogaerdt
@@ -795,10 +795,10 @@ int rrd_parse_PVHLAST(
             char     *saveptr;
 
             strcpy(csv, tmpstr);
-            
-            pch = strtok_r(tmpstr, ",",&saveptr);
+
+            pch = strtok_r(tmpstr, ",", &saveptr);
             while (pch != NULL) {
-                pch = strtok_r(NULL, ",",&saveptr);
+                pch = strtok_r(NULL, ",", &saveptr);
                 count++;
             }
             dprintf("- %d dash value(s) found: ", count);
@@ -806,7 +806,7 @@ int rrd_parse_PVHLAST(
                 gdp->dash = 1;
                 gdp->ndash = count;
                 gdp->p_dashes = (double *) malloc(sizeof(double) * count);
-                pch = strtok_r(csv, ",",&saveptr);
+                pch = strtok_r(csv, ",", &saveptr);
                 count = 0;
                 while (pch != NULL) {
                     if (sscanf(pch, "%f", &dsh)) {
@@ -814,7 +814,7 @@ int rrd_parse_PVHLAST(
                         dprintf("%.1f ", gdp->p_dashes[count]);
                         count++;
                     }
-                    pch = strtok_r(NULL, ",",&saveptr);
+                    pch = strtok_r(NULL, ",", &saveptr);
                 }
                 dprintf("\n");
             } else