windows: Rename write_from_window* to window_flush*
Change-Id: I17b3457c1689114e76652632358faca3a5130d9d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/mboxd_msg.c b/mboxd_msg.c
index 5eae6d6..1fd29f7 100644
--- a/mboxd_msg.c
+++ b/mboxd_msg.c
@@ -587,7 +587,7 @@
offset = i;
count++;
} else { /* Change in streak type */
- rc = write_from_window(context, offset, count,
+ rc = window_flush(context, offset, count,
prev);
if (rc < 0) {
return rc;
@@ -597,7 +597,7 @@
}
} else {
if (prev != WINDOW_CLEAN) { /* End of a streak */
- rc = write_from_window(context, offset, count,
+ rc = window_flush(context, offset, count,
prev);
if (rc < 0) {
return rc;
@@ -610,7 +610,7 @@
}
if (prev != WINDOW_CLEAN) { /* Still the last streak to write */
- rc = write_from_window(context, offset, count, prev);
+ rc = window_flush(context, offset, count, prev);
if (rc < 0) {
return rc;
}