mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:30:12 +01:00
smtp errmsg fix
This commit is contained in:
parent
8227183443
commit
de3a6fff76
@ -77,7 +77,6 @@ int handle_smtp_session(int new_sd, struct __data *data, struct __config *cfg){
|
|||||||
if(db_conn == 0){
|
if(db_conn == 0){
|
||||||
snprintf(buf, MAXBUFSIZE-1, SMTP_RESP_421_ERR_TMP, cfg->hostid);
|
snprintf(buf, MAXBUFSIZE-1, SMTP_RESP_421_ERR_TMP, cfg->hostid);
|
||||||
send(new_sd, buf, strlen(buf), 0);
|
send(new_sd, buf, strlen(buf), 0);
|
||||||
syslog(LOG_PRIORITY, "cannot make prepared statement");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user