Code

this did not compile after integrating the new fetchlast command -- Andy Riebs
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 20 Jan 2007 20:03:14 +0000 (20:03 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 20 Jan 2007 20:03:14 +0000 (20:03 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@956 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/tcl/tclrrd.c

index 33ceb15f3ca7116d2fc3bd92ab8e970d1e14419c..a119b5040b4b4035ec48dd169288ba7b52e6f31a 100644 (file)
@@ -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