summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aece9a4)
raw | patch | inline | side by side (parent: aece9a4)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 6 Sep 2007 09:06:04 +0000 (09:06 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 6 Sep 2007 09:06:04 +0000 (09:06 +0000) |
src/rrd_open.c | patch | blob | history |
diff --git a/src/rrd_open.c b/src/rrd_open.c
index b9885aa5fc27f0fc543becef760fee7cb41bdcd1..4ee68a67f65e17ca0f1d5e2e975f69e186f7dee0 100644 (file)
--- a/src/rrd_open.c
+++ b/src/rrd_open.c
if (count == 0)
return 0;
if (buf == NULL)
- return -1 /* EINVAL */
+ return -1; /* EINVAL */
memcpy(rrd_file->file_start + rrd_file->pos, buf, count);
rrd_file->pos += count;
return count; /* mimmic write() semantics */