lha: what is the reason for this? it's really bad to use
an int for storing a pointer value...
metze
if (ret != 0) {
talloc_free(priv);
- db->hdb_openp = NULL;
+ db->hdb_openp = 0;
} else {
talloc_free(mem_ctx);
}
priv->msgs = talloc_steal(priv, res->msgs);
talloc_free(res);
- db->hdb_openp = priv;
+ /* why has hdb_openp changed from (void *) to (int) ??? */
+ db->hdb_openp = (int)priv;
ret = LDB_seq(context, db, flags, entry);
-
+
if (ret != 0) {
talloc_free(priv);
- db->hdb_openp = NULL;
+ db->hdb_openp = 0;
} else {
talloc_free(mem_ctx);
}