From 706cb19188c9325364b8c6936ad8d38f1c53ad7f Mon Sep 17 00:00:00 2001 From: oetiker Date: Sat, 20 Jan 2007 20:03:14 +0000 Subject: [PATCH] this did not compile after integrating the new fetchlast command -- Andy Riebs git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@956 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/bindings/tcl/tclrrd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/program/bindings/tcl/tclrrd.c b/program/bindings/tcl/tclrrd.c index 33ceb15f..a119b504 100644 --- a/program/bindings/tcl/tclrrd.c +++ b/program/bindings/tcl/tclrrd.c @@ -310,7 +310,7 @@ Rrd_Update(ClientData clientData, Tcl_Interp *interp, int argc, CONST84 char *ar static int Rrd_Lastupdate(ClientData clientData, Tcl_Interp *interp, int argc, CONST84 char *argv[]) - { +{ time_t last_update; char **argv2; char **ds_namv; @@ -343,6 +343,8 @@ Rrd_Lastupdate(ClientData clientData, Tcl_Interp *interp, int argc, CONST84 char free(last_ds); free(ds_namv); } + } + return TCL_OK; } static int -- 2.30.2