git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b292af0
)
s3:util: let parent_dirname() correctly return toplevel filenames
author
Stefan Metzmacher
<metze@samba.org>
Tue, 30 Jun 2009 14:03:11 +0000
(16:03 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 1 Jul 2009 10:53:41 +0000
(12:53 +0200)
metze
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index c0bb042d28256aa7d91b39c8700f461d4364e8dd..77af939f3774ad38eb17401661479921db18bd9e 100644
(file)
--- 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;
}