summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 5871fd143f..27f17f9628 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -553,8 +553,7 @@ NTSTATUS unix_convert(connection_struct *conn,
tmp = talloc_asprintf(ctx,
"%s/%s", dirpath,
found_name);
- }
- else {
+ } else {
tmp = talloc_strdup(ctx,
found_name);
}