projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next'
[paraslash.git]
/
write_common.c
diff --git
a/write_common.c
b/write_common.c
index 4e81f62d68df57b04617a9e441f244c41cc3ed56..dcf7bb166ade3f9efa4d04afd4fb55e67e9c2d8e 100644
(file)
--- a/
write_common.c
+++ b/
write_common.c
@@
-61,7
+61,7
@@
static void wng_post_select(struct sched *s, struct task *t)
}
if (*g->loaded && min_written) {
// PARA_INFO_LOG("moving %zd bytes\n", *g->loaded);
- memmove(
g->buf, g->buf
+ min_written, *g->loaded);
+ memmove(
*g->bufp, *g->bufp
+ min_written, *g->loaded);
}
}