projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dccp_recv/udp_recv: Use the new nonblock API.
[paraslash.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 58e289f7346fae8afe0d6acce9460e5801c7a239..b9d8e3b9e3afc763beca585683e147effaaf334f 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-77,7
+77,5
@@
int for_each_stat_item(char *item_buf, size_t num_bytes,
assert(len >= 0 && buf <= item_buf + num_bytes);
}
assert(len >= 0);
- if (len && len != num_bytes)
- memmove(item_buf, item_buf + num_bytes - len, len);
return len;
}