Skip to content

Commit db01cf2

Browse files
committed
zcore: deindent zarafa_server_submitmessage
1 parent f1c21ee commit db01cf2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

exch/zcore/zarafa_server.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4122,11 +4122,8 @@ uint32_t zarafa_server_submitmessage(GUID hsession, uint32_t hmessage)
41224122
account = store_object_get_account(pstore);
41234123
if ('\0' == username[0]) {
41244124
gx_strlcpy(username, account, GX_ARRAY_SIZE(username));
4125-
} else {
4126-
if (FALSE == common_util_check_delegate_permission_ex(
4127-
account, username)) {
4128-
return ecAccessDenied;
4129-
}
4125+
} else if (!common_util_check_delegate_permission_ex(account, username)) {
4126+
return ecAccessDenied;
41304127
}
41314128
gxerr_t err = common_util_rectify_message(pmessage, username);
41324129
if (err != GXERR_SUCCESS) {

0 commit comments

Comments
 (0)