formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-05-31 03:39:59 +00:00
parent d20c0c34f5
commit bec2f20da0
1 changed files with 1 additions and 1 deletions

View File

@ -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 /* If we can't write to path or path isn't a directory, return
* NULL. */ * NULL. */
if (access(full_path, W_OK) != 0 || if (access(full_path, W_OK) != 0 ||
full_path[strlen(full_path) - 1] != '/') { full_path[strlen(full_path) - 1] != '/') {
free(full_path); free(full_path);
return NULL; return NULL;
} }