projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
made ForEachUser use a read-only cursor, too. there is now only one piece of
[citadel.git]
/
citadel
/
user_ops.c
diff --git
a/citadel/user_ops.c
b/citadel/user_ops.c
index 2cbcb0c8648a240ca21f6fcc256e7eb6dea57abb..86e0166fc5d0da8d750282c06a7c01ee471e2bda 100644
(file)
--- a/
citadel/user_ops.c
+++ b/
citadel/user_ops.c
@@
-1081,7
+1081,6
@@
void ForEachUser(void (*CallBack) (struct usersupp * EachUser, void *out_data),
struct usersupp usbuf;
struct cdbdata *cdbus;
- cdb_begin_transaction();
cdb_rewind(CDB_USERSUPP);
while (cdbus = cdb_next_item(CDB_USERSUPP), cdbus != NULL) {
@@
-1092,7
+1091,6
@@
void ForEachUser(void (*CallBack) (struct usersupp * EachUser, void *out_data),
cdb_free(cdbus);
(*CallBack) (&usbuf, in_data);
}
- cdb_end_transaction();
}