formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
d20c0c34f5
commit
bec2f20da0
|
@ -1125,7 +1125,7 @@ char *check_writable_directory(const char *path)
|
|||
/* If we can't write to path or path isn't a directory, return
|
||||
* NULL. */
|
||||
if (access(full_path, W_OK) != 0 ||
|
||||
full_path[strlen(full_path) - 1] != '/') {
|
||||
full_path[strlen(full_path) - 1] != '/') {
|
||||
free(full_path);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue