Skip to content

Commit ca2493a

Browse files
gromandreasjengelh
authored andcommitted
zcore: increase counter when adding a prop to remove
The switch from `poriginal_indices[count++]` to `poriginal_indices.push_back` left count unincremented. Fixes: gromox-2.35~10
1 parent 324e54a commit ca2493a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exch/zcore/message_object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ BOOL message_object::remove_properties(const PROPTAG_ARRAY *pproptags) try
926926
problems.pproblem[problems.count++].index = i;
927927
continue;
928928
}
929-
tmp_proptags.pproptag[tmp_proptags.count] = tag;
929+
tmp_proptags.pproptag[tmp_proptags.count++] = tag;
930930
poriginal_indices.push_back(i);
931931
}
932932
if (tmp_proptags.count == 0)

0 commit comments

Comments
 (0)