projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb3845
)
CtdlSaveMsgPointersInRoom() also call AdjRefCountList() once instead of AdjRefCount...
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 5 Mar 2012 23:14:34 +0000
(
00:14
+0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 5 Mar 2012 23:14:34 +0000
(
00:14
+0100)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 143b6cb2a7d2bdb76eec08223e18651ebcf1a72c..5ba6d698e1d00723ee8b00672181a1e766721094 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-2794,9
+2794,7
@@
int CtdlSaveMsgPointersInRoom(char *roomname, long newmsgidlist[], int num_newms
/* Bump the reference count for all messages which were merged */
if (!suppress_refcount_adj) {
- for (i=0; i<num_msgs_to_be_merged; ++i) {
- AdjRefCount(msgs_to_be_merged[i], +1);
- }
+ AdjRefCountList(msgs_to_be_merged, num_msgs_to_be_merged, +1);
}
/* Free up memory... */