Skip to content
Snippets Groups Projects
Commit 6c81309a authored by Timo Sirainen's avatar Timo Sirainen
Browse files

managesieve-login: Correctly adjust to core login-common API changes.

Previous commit was accidentally for an earlier version of the API change.
parent 568c72e7
No related branches found
No related tags found
No related merge requests found
...@@ -522,11 +522,15 @@ static struct client_vfuncs managesieve_client_vfuncs = { ...@@ -522,11 +522,15 @@ static struct client_vfuncs managesieve_client_vfuncs = {
.free = client_common_default_free, .free = client_common_default_free,
}; };
static const struct login_binary managesieve_login_binary = { static struct login_binary managesieve_login_binary = {
.protocol = "sieve", .protocol = "sieve",
.process_name = "managesieve-login", .process_name = "managesieve-login",
.default_port = 4190, .default_port = 4190,
.event_category = {
.name = "managesieve",
},
.client_vfuncs = &managesieve_client_vfuncs, .client_vfuncs = &managesieve_client_vfuncs,
.preinit = managesieve_login_preinit, .preinit = managesieve_login_preinit,
.init = managesieve_login_init, .init = managesieve_login_init,
...@@ -535,10 +539,6 @@ static const struct login_binary managesieve_login_binary = { ...@@ -535,10 +539,6 @@ static const struct login_binary managesieve_login_binary = {
.anonymous_login_acceptable = FALSE, .anonymous_login_acceptable = FALSE,
}; };
struct event_category login_event_category = {
.name = "managesieve",
};
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
return login_binary_run(&managesieve_login_binary, argc, argv); return login_binary_run(&managesieve_login_binary, argc, argv);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.