Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP1:Update
dovecot23.15100
0001-lib-smtp-smtp-server-cmd-vrfy-Restructure-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-lib-smtp-smtp-server-cmd-vrfy-Restructure-parameter-.patch of Package dovecot23.15100
From d143ca6b7ee1196ae3eafffbf6dee71a95a5e0b8 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@open-xchange.com> Date: Tue, 24 Mar 2020 21:05:17 +0100 Subject: [PATCH 01/16] lib-smtp: smtp-server-cmd-vrfy - Restructure parameter parsing. --- src/lib-smtp/smtp-server-cmd-vrfy.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/lib-smtp/smtp-server-cmd-vrfy.c b/src/lib-smtp/smtp-server-cmd-vrfy.c index 56019d7e25..6d6537b4f0 100644 --- a/src/lib-smtp/smtp-server-cmd-vrfy.c +++ b/src/lib-smtp/smtp-server-cmd-vrfy.c @@ -17,15 +17,13 @@ void smtp_server_cmd_vrfy(struct smtp_server_cmd_ctx *cmd, int ret; /* vrfy = "VRFY" SP String CRLF */ - if ((ret=smtp_string_parse(params, ¶m, &error)) <= 0) { - if (ret < 0) { - smtp_server_reply(cmd, - 501, "5.5.4", - "Invalid string parameter: %s", error); - } else { - smtp_server_reply(cmd, - 501, "5.5.4", "Invalid parameters"); - } + ret = smtp_string_parse(params, ¶m, &error); + if (ret < 0) { + smtp_server_reply(cmd, 501, "5.5.4", + "Invalid string parameter: %s", error); + return; + } else if (ret == 0) { + smtp_server_reply(cmd, 501, "5.5.4", "Invalid parameters"); return; } -- 2.11.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor