| Index: net/url_request/ftp_protocol_handler.cc
|
| diff --git a/net/url_request/ftp_protocol_handler.cc b/net/url_request/ftp_protocol_handler.cc
|
| index 56d15e6d31bf4db32426f7cbd0da4d222d8a3e85..00438801f09265f1cc337a179f69f58bf400f97a 100644
|
| --- a/net/url_request/ftp_protocol_handler.cc
|
| +++ b/net/url_request/ftp_protocol_handler.cc
|
| @@ -26,10 +26,11 @@ FtpProtocolHandler::~FtpProtocolHandler() {
|
| }
|
|
|
| URLRequestJob* FtpProtocolHandler::MaybeCreateJob(
|
| - URLRequest* request, NetworkDelegate* network_delegate) const {
|
| + URLRequest* request,
|
| + NetworkDelegate* network_delegate) const {
|
| int port = request->url().IntPort();
|
| - if (request->url().has_port() &&
|
| - !IsPortAllowedByFtp(port) && !IsPortAllowedByOverride(port)) {
|
| + if (request->url().has_port() && !IsPortAllowedByFtp(port) &&
|
| + !IsPortAllowedByOverride(port)) {
|
| return new URLRequestErrorJob(request, network_delegate, ERR_UNSAFE_PORT);
|
| }
|
|
|
|
|