Same for graph

This commit is contained in:
Martin Duquesnoy 2012-03-08 17:08:01 +01:00
parent e4def827f0
commit d5aed8831b

View File

@ -110,6 +110,9 @@ status_graph_process(struct status_ctx *ctx, struct status_seq *sq, char *name)
return;
}
if(sq->data[1] > sq->data[2])
sq->data[1] = sq->data[2];
/* No? Make a cache for it */
gc = xcalloc(1, sizeof(struct status_gcache));
gc->name = xstrdup(name);