diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-30 16:03:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-01 12:53:41 +0200 |
commit | a14efbadd53ac9678d75e6029f947d63cfa0c4e5 (patch) | |
tree | cafdc6e686dcb26f7534ac9199ecc4362279163a /source3/lib | |
parent | b292af0c38c6aa2167adb5803ced03cf51a81a9c (diff) | |
download | samba-a14efbadd53ac9678d75e6029f947d63cfa0c4e5.tar.gz samba-a14efbadd53ac9678d75e6029f947d63cfa0c4e5.tar.bz2 samba-a14efbadd53ac9678d75e6029f947d63cfa0c4e5.zip |
s3:util: let parent_dirname() correctly return toplevel filenames
metze
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index c0bb042d28..77af939f37 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2285,7 +2285,7 @@ bool parent_dirname(TALLOC_CTX *mem_ctx, const char *dir, char **parent, return False; } if (name) { - *name = ""; + *name = dir; } return True; } |