minor off-by-one fix for home directory path separator

git-svn-id: file:///home/mbr/svn/fwknop/trunk@281 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Michael Rash
2010-08-14 01:26:42 +00:00
parent ea19245f99
commit b0de05c70a
+1 -1
View File
@@ -399,7 +399,7 @@ process_rc(fko_cli_options_t *options)
}
strlcpy(rcfile, homedir, MAX_PATH_LEN);
rcfile[strlen(rcfile)-1] = PATH_SEP;
rcfile[strlen(rcfile)] = PATH_SEP;
strlcat(rcfile, ".fwknoprc", MAX_PATH_LEN);
/* Open the rc file for reading, if it does not exist, then create