From 1d6016df5ccef235279521088eb13dc262f25277 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 18 Nov 2014 10:37:15 +0100 Subject: [PATCH] lib: Add proper {} to tcopy_passwd Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Nov 18 21:45:40 CET 2014 on sn-devel-104 --- lib/util/util_pw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util/util_pw.c b/lib/util/util_pw.c index 1e6de4f17f6..dae3a69492a 100644 --- a/lib/util/util_pw.c +++ b/lib/util/util_pw.c @@ -42,8 +42,9 @@ struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx, ret = talloc_pooled_object(mem_ctx, struct passwd, 5, len); - if (ret == NULL) + if (ret == NULL) { return NULL; + } ret->pw_name = talloc_strdup(ret, from->pw_name); ret->pw_passwd = talloc_strdup(ret, from->pw_passwd);