summaryrefslogtreecommitdiffstats
path: root/server/db
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-17 14:55:41 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-11-18 06:47:24 -0500
commit39462f9afb7512d3d8109e17b78a303b20c557ab (patch)
treed029b9ad8956e0c9700361eab80542d84f180b14 /server/db
parentb49f7338305081759cca445d83d4e1d3d7f97763 (diff)
downloadsssd-39462f9afb7512d3d8109e17b78a303b20c557ab.tar.gz
sssd-39462f9afb7512d3d8109e17b78a303b20c557ab.tar.xz
sssd-39462f9afb7512d3d8109e17b78a303b20c557ab.zip
Fix crash due to uninitialized timeout variable
This slipped through in previous patches. Fixes #283
Diffstat (limited to 'server/db')
-rw-r--r--server/db/sysdb_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/db/sysdb_ops.c b/server/db/sysdb_ops.c
index 7e232a4d7..4a44f280a 100644
--- a/server/db/sysdb_ops.c
+++ b/server/db/sysdb_ops.c
@@ -2181,6 +2181,7 @@ struct tevent_req *sysdb_add_group_send(TALLOC_CTX *mem_ctx,
state->name = name;
state->gid = gid;
state->attrs = attrs;
+ state->cache_timeout = cache_timeout;
if (domain->id_max != 0 && gid != 0 &&
(gid < domain->id_min || gid > domain->id_max)) {