summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/smtppass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index fa82b84..57bdf27 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -176,7 +176,7 @@ static int connect_out(spctx_t* ctx);
static int read_server_response(spctx_t* ctx);
static int parse_config_file(const char* configfile);
static char* parse_address(char* line);
-static int is_successful_rsp(char* line);
+static int is_successful_rsp(const char* line);
/* Used externally in some cases */
int sp_parse_option(const char* name, const char* option);
@@ -1060,7 +1060,7 @@ static char* parse_address(char* line)
return trim_end(line);
}
-static int is_successful_rsp(char* line)
+static int is_successful_rsp(const char* line)
{
/*
* We check for both '250 xxx' type replies