git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ac023
)
s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().
author
Günther Deschner
<gd@samba.org>
Thu, 12 May 2011 15:03:20 +0000
(17:03 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 12 May 2011 16:09:16 +0000
(18:09 +0200)
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104
source3/lib/smbconf/smbconf_reg.c
patch
|
blob
|
history
diff --git
a/source3/lib/smbconf/smbconf_reg.c
b/source3/lib/smbconf/smbconf_reg.c
index 6982795c73d1a509c8c67af6cb70ea6151fc551c..599ebb7b46e84004894686f34b50dd62e30766e9 100644
(file)
--- a/
source3/lib/smbconf/smbconf_reg.c
+++ b/
source3/lib/smbconf/smbconf_reg.c
@@
-600,7
+600,7
@@
static sbcErr smbconf_reg_init(struct smbconf_ctx *ctx, const char *path)
}
ctx->path = talloc_strdup(ctx, path);
if (ctx->path == NULL) {
-
werr = W
ERR_NOMEM;
+
err = SBC_
ERR_NOMEM;
goto done;
}