Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imapd.c:cmd_sync…(): avoid double checking for imapd_userisadmin #3572

Conversation

dilyanpalauzov
Copy link
Contributor

The cmd_syncapply(), cmd_syncget() and cmd_syncrestore() functions check, whether imapd_userisadmin, so the same check is not necessary, before these functions are called.

The cmd_syncapply(), cmd_syncget() and cmd_syncrestore() functions
check, whether imapd_userisadmin, so the same check is not necessary,
before these functions are called.

Insisting on “DCO” imposes formalities, that end it theirselves.  One cannot
assume that the committer understands English, or that the submitter has time or
will to read texts about symbolism in software contributions.  If the system
wants to see the text

  nrEAUIEUAIe eEEAIUEAUEAEUAI eauaieeuai »ℓ§444.3.72b)°»°ℓ§euaieauuae

in each commit, people will write this, or any other text, that the system wants to
see.  All such text, which presense is mandated by the system, has the same value.

Signed-off-by: Дилян Палаузов <[email protected]>
@ksmurchison ksmurchison self-assigned this Sep 11, 2024
@ksmurchison
Copy link
Contributor

Superseded by #5039

@dilyanpalauzov dilyanpalauzov deleted the imapd_c_sync_double_imapd_userisadmin branch September 17, 2024 11:42
dilyanpalauzov added a commit to dilyanpalauzov/cyrus-imapd that referenced this pull request Sep 24, 2024
The cmd_syncapply() function repeats the check, performed in cmdloop().

cyrusimap#3572
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants