mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08:00
update r2439: make clear name
This commit is contained in:
parent
c46e519a41
commit
77a797436d
@ -104,7 +104,7 @@ ngx_module_t ngx_mail_proxy_module = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static u_char smtp_ok[] = "235 2.0.0 OK" CRLF;
|
static u_char smtp_auth_ok[] = "235 2.0.0 OK" CRLF;
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -614,8 +614,8 @@ ngx_mail_proxy_smtp_handler(ngx_event_t *rev)
|
|||||||
b->pos = b->start;
|
b->pos = b->start;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ngx_memcpy(b->start, smtp_ok, sizeof(smtp_ok) - 1);
|
ngx_memcpy(b->start, smtp_auth_ok, sizeof(smtp_auth_ok) - 1);
|
||||||
b->last = b->start + sizeof(smtp_ok) - 1;
|
b->last = b->start + sizeof(smtp_auth_ok) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
s->connection->read->handler = ngx_mail_proxy_handler;
|
s->connection->read->handler = ngx_mail_proxy_handler;
|
||||||
|
Loading…
Reference in New Issue
Block a user