summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4eae38f)
raw | patch | inline | side by side (parent: 4eae38f)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 7 Jun 2009 14:46:21 +0000 (14:46 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 7 Jun 2009 14:46:21 +0000 (14:46 +0000) |
program/bindings/tcl/tclrrd.c | patch | blob | history |
index 92772571423a4ac88b698b4569080712e0da02d9..a98a2d7c2ac23f82847e8991a5287f4550f74d03 100644 (file)
return TCL_ERROR;
}
- rrd_cmd_flush(argc, (char**)argv);
+ rrd_flushcached(argc, (char**)argv);
if (rrd_test_error()) {
Tcl_AppendResult(interp, "RRD Error: ",
* Must dup() file descriptor so we can fclose(stream), otherwise the fclose()
* would close Tcl's file descriptor
*/
- if ((fd2 = dup((int) fd1)) == -1) {
+ if ((fd2 = dup((int)fd1)) == -1) {
Tcl_AppendResult(interp,
"dup() failed for file descriptor associated with \"",
argv[1], "\": ", strerror(errno), (char *) NULL);