summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88634ca)
raw | patch | inline | side by side (parent: 88634ca)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 12 Apr 2005 21:52:18 +0000 (21:52 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 12 Apr 2005 21:52:18 +0000 (21:52 +0000) |
program/src/rrd_graph.c | patch | blob | history |
index 842c0df031903a929ac3c147c5bd9149b169f3c4..95ba70df452e835e28122abf946e4c2e1ca281b6 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
-/strfcmp/****************************************************************************
+/****************************************************************************
* RRDtool 1.2rc8 Copyright by Tobi Oetiker, 1997-2005
****************************************************************************
* rrd__graph.c produce graphs from data in rrdfiles
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));