summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-31 00:44:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:49 -0500
commit15ebf2cd2908415491c2710caa2ee7f3e0ef47ef (patch)
treebf06957e4e633406c0261d77d314ac61abee5caf
parent2b86a5b4ed260a42f2771c9e2c5f83268f64a8b1 (diff)
downloadsamba-15ebf2cd2908415491c2710caa2ee7f3e0ef47ef.tar.gz
samba-15ebf2cd2908415491c2710caa2ee7f3e0ef47ef.tar.xz
samba-15ebf2cd2908415491c2710caa2ee7f3e0ef47ef.zip
r14829: Fix reversed test in coverity fixes.
Jeremy. (This used to be commit f1b4e870a52cbd7bb780b206e943987648523060)
-rw-r--r--source3/rpc_parse/parse_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c
index a226bbb1d75..fef1332e5c7 100644
--- a/source3/rpc_parse/parse_reg.c
+++ b/source3/rpc_parse/parse_reg.c
@@ -1117,7 +1117,7 @@ void init_reg_q_enum_val(REG_Q_ENUM_VALUE *q_u, POLICY_HND *pol,
q_u->value->buf_max_len = max_buf_len;
q_u->buffer_len = TALLOC_P( get_talloc_ctx(), uint32 );
- if (q_u->buffer_len) {
+ if (!q_u->buffer_len) {
smb_panic("init_reg_q_enum_val: talloc fail\n");
return;
}