Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move free_xbuf() into ifuncs.h.
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
3ece9c3
..
611b893
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-1153,13
+1153,6
@@
int io_start_buffering_in(int f_in)
return 1;
}
-static void free_xbuf(xbuf *x)
-{
- if (x->buf)
- free(x->buf);
- memset(x, 0, sizeof (xbuf));
-}
-
void io_end_buffering_in(BOOL free_buffers)
{
if (DEBUG_GTE(IO, 2)) {