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
Made some more char pointers const.
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
d09296d
..
ed1111a
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-83,10
+83,10
@@
static int updating_basis;
* As long as it's unique, rsync will work.
*/
* As long as it's unique, rsync will work.
*/
-int get_tmpname(char *fnametmp, char *fname)
+int get_tmpname(char *fnametmp, c
onst c
har *fname)
{
int maxname, added, length = 0;
{
int maxname, added, length = 0;
- char *f;
+ c
onst c
har *f;
if (tmpdir) {
/* Note: this can't overflow, so the return value is safe */
if (tmpdir) {
/* Note: this can't overflow, so the return value is safe */