diff options
| author | Wayne Davison <wayned@samba.org> | 2006-11-19 00:23:21 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-11-19 00:23:21 +0000 |
| commit | 4a19c3b254b01c298fe25d72f450a760278e9386 (patch) | |
| tree | 7fa0be332e7ae1c85d92b836f68f5fe60b623a97 /flist.c | |
| parent | 4743f0f41b2e180d22616c89331ee3b06d628628 (diff) | |
| download | android_external_rsync-4a19c3b254b01c298fe25d72f450a760278e9386.tar.gz android_external_rsync-4a19c3b254b01c298fe25d72f450a760278e9386.tar.bz2 android_external_rsync-4a19c3b254b01c298fe25d72f450a760278e9386.zip | |
Added "const" to appropriate char pointers.
Diffstat (limited to 'flist.c')
| -rw-r--r-- | flist.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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)) { - char *sum; + const char *sum; 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)); - 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 |
