projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00449b
)
rrdtool plugin: Use a hack to case the `argv' pointers in a portable way.
author
Florian Forster
<octo@huhu.verplant.org>
Wed, 2 Jul 2008 13:21:55 +0000
(15:21 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 2 Jul 2008 13:21:55 +0000
(15:21 +0200)
src/rrdtool.c
patch
|
blob
|
history
diff --git
a/src/rrdtool.c
b/src/rrdtool.c
index
adf6eeb
..
161037c
100644
(file)
--- a/
src/rrdtool.c
+++ b/
src/rrdtool.c
@@
-342,7
+342,7
@@
static int srrd_create (char *filename, unsigned long pdp_step, time_t last_up,
optind = 0; /* bug in librrd? */
rrd_clear_error ();
- status = rrd_create_r (filename, pdp_step, last_up, argc, argv);
+ status = rrd_create_r (filename, pdp_step, last_up, argc,
(void *)
argv);
if (status != 0)
{
@@
-360,7
+360,7
@@
static int srrd_update (char *filename, char *template, int argc, char **argv)
optind = 0; /* bug in librrd? */
rrd_clear_error ();
- status = rrd_update_r (filename, template, argc, argv);
+ status = rrd_update_r (filename, template, argc,
(void *)
argv);
if (status != 0)
{