Same for graph
This commit is contained in:
parent
e4def827f0
commit
d5aed8831b
@ -110,6 +110,9 @@ status_graph_process(struct status_ctx *ctx, struct status_seq *sq, char *name)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(sq->data[1] > sq->data[2])
|
||||||
|
sq->data[1] = sq->data[2];
|
||||||
|
|
||||||
/* No? Make a cache for it */
|
/* No? Make a cache for it */
|
||||||
gc = xcalloc(1, sizeof(struct status_gcache));
|
gc = xcalloc(1, sizeof(struct status_gcache));
|
||||||
gc->name = xstrdup(name);
|
gc->name = xstrdup(name);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user