X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/57d617192b6c02f192c42f725c01bbe1f45756bb..93204ccae21d3e623563bec7a037bb47a9e6f997:/receiver.c diff --git a/receiver.c b/receiver.c index d09296d1..ed1111a4 100644 --- a/receiver.c +++ b/receiver.c @@ -83,10 +83,10 @@ static int updating_basis; * As long as it's unique, rsync will work. */ -int get_tmpname(char *fnametmp, char *fname) +int get_tmpname(char *fnametmp, const char *fname) { int maxname, added, length = 0; - char *f; + const char *f; if (tmpdir) { /* Note: this can't overflow, so the return value is safe */