git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d12f6
)
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
Michael Adam
<obnox@samba.org>
Tue, 28 Jul 2009 14:07:54 +0000
(16:07 +0200)
metze
source/lib/util.c
patch
|
blob
|
history
diff --git
a/source/lib/util.c
b/source/lib/util.c
index b91377568129ce05125229614b8bb2fcd1f94fc1..9591b7323cff4618c7ca1607d52874f169b85d50 100644
(file)
--- a/
source/lib/util.c
+++ b/
source/lib/util.c
@@
-2669,7
+2669,7
@@
bool parent_dirname_talloc(TALLOC_CTX *mem_ctx, const char *dir,
return False;
}
if (name) {
- *name =
""
;
+ *name =
dir
;
}
return True;
}