From: oetiker Date: Sat, 20 Jan 2007 20:03:14 +0000 (+0000) Subject: this did not compile after integrating the new fetchlast command -- Andy Riebs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cbe1c48c84388013a0a58747ecfdb91a9cae89e6;p=rrdtool.git 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 --- 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