projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Updated perl compile system. It now uses Makefile.PL for everything,
[rrdtool.git]
/
src
/
rrd_last.c
diff --git
a/src/rrd_last.c
b/src/rrd_last.c
index
78ba5a3
..
d50e760
100644
(file)
--- a/
src/rrd_last.c
+++ b/
src/rrd_last.c
@@
-11,21
+11,17
@@
time_t
rrd_last(int argc, char **argv)
{
time_t
rrd_last(int argc, char **argv)
{
- time_t lastup;
-
if(argc < 2){
rrd_set_error("please specify an rrd");
return(-1);
}
if(argc < 2){
rrd_set_error("please specify an rrd");
return(-1);
}
- lastup = rrd_last_r(argv[1]);
-
- return(lastup);
+ return( rrd_last_r(argv[1]) );
}
time_t
}
time_t
-rrd_last_r(char *filename)
+rrd_last_r(c
onst c
har *filename)
{
FILE *in_file;
time_t lastup;
{
FILE *in_file;
time_t lastup;