Code

prep for 1.2rc8 release
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 12 Apr 2005 21:52:18 +0000 (21:52 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 12 Apr 2005 21:52:18 +0000 (21:52 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@402 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_graph.c

index 842c0df031903a929ac3c147c5bd9149b169f3c4..95ba70df452e835e28122abf946e4c2e1ca281b6 100644 (file)
@@ -1,4 +1,4 @@
-/strfcmp/****************************************************************************
+/****************************************************************************
  * RRDtool 1.2rc8  Copyright by Tobi Oetiker, 1997-2005
  ****************************************************************************
  * rrd__graph.c  produce graphs from data in rrdfiles
@@ -1298,7 +1298,7 @@ print_calc(image_desc_t *im, char ***prdata)
                char ctime_buf[128]; /* PS: for ctime_r, must be >= 26 chars */
                int iii=0;
                ctime_r(&printtime,ctime_buf); 
-               while(isprint(ctime_buf[iii])){iii++};
+               while(isprint(ctime_buf[iii])){iii++;}
                ctime_buf[iii]='\0';
                if (im->gdes[i].gf == GF_PRINT){
                    (*prdata)[prlines-2] = malloc((FMT_LEG_LEN+2)*sizeof(char));