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 "const" to appropriate char pointers.
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
8e543a6
..
8b24b0a
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-467,7
+467,7
@@
static void send_file_entry(struct file_struct *file, int f)
#endif
if (always_checksum && (S_ISREG(mode) || protocol_version < 28)) {
#endif
if (always_checksum && (S_ISREG(mode) || protocol_version < 28)) {
- char *sum;
+ c
onst c
har *sum;
if (S_ISREG(mode))
sum = file->u.sum;
else {
if (S_ISREG(mode))
sum = file->u.sum;
else {
@@
-1505,8
+1505,7
@@
struct file_list *flist_new(int with_hlink, char *msg)
memset(flist, 0, sizeof (struct file_list));
memset(flist, 0, sizeof (struct file_list));
- if (!(flist->file_pool = pool_create(FILE_EXTENT, 0,
- out_of_memory, POOL_INTERN)))
+ if (!(flist->file_pool = pool_create(FILE_EXTENT, 0, out_of_memory, POOL_INTERN)))
out_of_memory(msg);
#ifdef SUPPORT_HARD_LINKS
out_of_memory(msg);
#ifdef SUPPORT_HARD_LINKS