Skip to content

Commit a4b9da8

Browse files
exmdb: fix switched default/anonymous members
Fix member names for default and anonymous being switched when read from the database.
1 parent 2a25e74 commit a4b9da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exch/exmdb/common_util.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3922,10 +3922,10 @@ bool cu_get_permission_property(int64_t member_id,
39223922
case PR_SMTP_ADDRESS: {
39233923
pusername = pstmt.col_text(0);
39243924
if ('\0' == pusername[0]) {
3925-
*ppvalue = deconst("default");
3925+
*ppvalue = deconst("anonymous");
39263926
return TRUE;
39273927
} else if (0 == strcasecmp(pusername, "default")) {
3928-
*ppvalue = deconst("anonymous");
3928+
*ppvalue = deconst("default");
39293929
return TRUE;
39303930
}
39313931
std::string display_name;

0 commit comments

Comments
 (0)