mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 22:04:15 -04:00
Made full_fname()'s char-pointer arg const.
This commit is contained in:
1 parent
f1dd0f27cb
commit
9a5ade185c
1 file changed
+1
-1
@@ -888,7 +888,7 @@ int pop_dir(char *dir)
|
||||
* The string " (in MODNAME)" may also be appended. The returned pointer
|
||||
* remains valid until the next time full_fname() is called.
|
||||
**/
|
||||
char *full_fname(char *fn)
|
||||
char *full_fname(const char *fn)
|
||||
{
|
||||
static char *result = NULL;
|
||||
char *m1, *m2, *m3;
|
||||
|
||||
Reference in new issue
Block a user