git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1001
a5681a0c-68f1-0310-ab6d-
d61299d08faa
/* Make sure that we were given the right number of args */
if( argc != 4) {
rrd_set_error( "wrong number of args %d", argc);
/* Make sure that we were given the right number of args */
if( argc != 4) {
rrd_set_error( "wrong number of args %d", argc);
}
/* Init start and end time */
}
/* Init start and end time */
/* Parse the start and end times we were given */
if( (parsetime_error = parsetime( args[1], &start_tv))) {
rrd_set_error( "start time: %s", parsetime_error);
/* Parse the start and end times we were given */
if( (parsetime_error = parsetime( args[1], &start_tv))) {
rrd_set_error( "start time: %s", parsetime_error);
}
if( (parsetime_error = parsetime( args[2], &end_tv))) {
rrd_set_error( "end time: %s", parsetime_error);
}
if( (parsetime_error = parsetime( args[2], &end_tv))) {
rrd_set_error( "end time: %s", parsetime_error);
}
if( proc_start_end( &start_tv, &end_tv, &start_tmp, &end_tmp) == -1) {
}
if( proc_start_end( &start_tv, &end_tv, &start_tmp, &end_tmp) == -1) {
}
/* Do we do the start or end */
}
/* Do we do the start or end */
}
else {
rrd_set_error( "start/end not found in '%s'", args[0]);
}
else {
rrd_set_error( "start/end not found in '%s'", args[0]);
}
else {
rrd_set_error( "strftime failed");
}
else {
rrd_set_error( "strftime failed");