summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1352f9)
raw | patch | inline | side by side (parent: f1352f9)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 28 May 2005 12:52:50 +0000 (12:52 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 28 May 2005 12:52:50 +0000 (12:52 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@601 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_gfx.c | patch | blob | history | |
src/rrd_update.c | patch | blob | history |
diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c
index 66dbc940322c02cf798364198ef30f986202fa4e..336a2dfa2dd38612e7f621b15b4e365812c0edc5 100644 (file)
--- a/src/rrd_gfx.c
+++ b/src/rrd_gfx.c
state.linecap = -1;
state.linejoin = -1;
state.has_dash = 0;
+ state.line_width = 1;
if (eps_prologue(&state) == -1)
return -1;
eps_set_color(&state, background);
diff --git a/src/rrd_update.c b/src/rrd_update.c
index 347da822bf9dc569719a52a196fed5e87edb56a0..43c0c13c078238c8e13b3d09a23c84f39e420cf9 100644 (file)
--- a/src/rrd_update.c
+++ b/src/rrd_update.c
FILE *rrd_file;
rrd_t rrd;
- time_t current_time;
- time_t rra_time; /* time of update for a RRA */
- unsigned long current_time_usec; /* microseconds part of current time */
+ time_t current_time = 0;
+ time_t rra_time = 0; /* time of update for a RRA */
+ unsigned long current_time_usec=0;/* microseconds part of current time */
struct timeval tmp_time; /* used for time conversion */
char **updvals;