From cbe1c48c84388013a0a58747ecfdb91a9cae89e6 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/program@956 a5681a0c-68f1-0310-ab6d-d61299d08faa --- bindings/tcl/tclrrd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/tcl/tclrrd.c b/bindings/tcl/tclrrd.c index 33ceb15..a119b50 100644 --- a/bindings/tcl/tclrrd.c +++ b/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.11.0