git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82428ad
)
s3:messages: convert to use only dbwrap wrapper functions
author
Michael Adam
<obnox@samba.org>
Wed, 24 Aug 2011 13:47:46 +0000
(15:47 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/source3/lib/messages.c
b/source3/lib/messages.c
index 57a2e22f72675983751480753c6d488b3fa1e0fc..b3917d03f56f0684444e1bd2ba75afa598be9db5 100644
(file)
--- a/
source3/lib/messages.c
+++ b/
source3/lib/messages.c
@@
-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;