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