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
added stuff to ignore list
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
ad4dec9
..
4da0931
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-112,7
+112,7
@@
char *map_file(int fd,off_t len)
void unmap_file(char *buf,off_t len)
{
- if (len > 0)
+ if (len > 0
&& buf
)
munmap(buf,len);
}