s3:messages: convert to use only dbwrap wrapper functions
authorMichael Adam <obnox@samba.org>
Wed, 24 Aug 2011 13:47:46 +0000 (15:47 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 11 Oct 2011 12:17:57 +0000 (14:17 +0200)
Avoid direct use of the db_record and db_context structs.

source3/lib/messages.c

index 57a2e22f72675983751480753c6d488b3fa1e0fc..b3917d03f56f0684444e1bd2ba75afa598be9db5 100644 (file)
@@ -120,7 +120,7 @@ static int traverse_fn(struct db_record *rec, const struct server_id *id,
 
                DEBUG(2, ("pid %s doesn't exist\n", procid_str_static(id)));
 
-               rec->delete_rec(rec);
+               dbwrap_record_delete(rec);
        }
        msg_all->n_sent++;
        return 0;