diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-10-17 00:06:42 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-10-17 00:06:42 +0000 |
commit | a6028f7332dbf61541a4482e402bf346dad53118 (patch) | |
tree | 3908357b831dbb78c746f73c443b4d7ba5e966f9 /source/common/adfile.c | |
parent | 59ce063597ddbda74269a45aba8187dece2fe00a (diff) |
Notes
Diffstat (limited to 'source/common/adfile.c')
-rw-r--r-- | source/common/adfile.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/common/adfile.c b/source/common/adfile.c index dc1f0a2f385ca..48ff89fc841e1 100644 --- a/source/common/adfile.c +++ b/source/common/adfile.c @@ -288,7 +288,6 @@ FlSplitInputPathname ( *OutDirectoryPath = NULL; - *OutFilename = NULL; if (!InputPath) { @@ -334,6 +333,10 @@ FlSplitInputPathname ( } *OutDirectoryPath = DirectoryPath; - *OutFilename = Filename; + + if (OutFilename) + { + *OutFilename = Filename; + } return (AE_OK); } |