mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 18:50:27 +09:00
Use const where it should be used.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@407 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -95,7 +95,7 @@ char *ssh_get_user_home_dir(void) {
|
||||
#endif
|
||||
|
||||
/* we have read access on file */
|
||||
int ssh_file_readaccess_ok(char *file){
|
||||
int ssh_file_readaccess_ok(const char *file){
|
||||
if(!access(file,R_OK))
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user