minor bug fix to account for PATH_SEP being defined as a character instead of a string
git-svn-id: file:///home/mbr/svn/fwknop/trunk@280 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
parent
838b80fd7d
commit
ea19245f99
@ -399,7 +399,7 @@ process_rc(fko_cli_options_t *options)
|
||||
}
|
||||
|
||||
strlcpy(rcfile, homedir, MAX_PATH_LEN);
|
||||
strlcat(rcfile, PATH_SEP, MAX_PATH_LEN);
|
||||
rcfile[strlen(rcfile)-1] = PATH_SEP;
|
||||
strlcat(rcfile, ".fwknoprc", MAX_PATH_LEN);
|
||||
|
||||
/* Open the rc file for reading, if it does not exist, then create
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user