Skip to content

Commit e4afb16

Browse files
authored
Merge pull request #30 from Castaglia/cleanup-trailing-whitespace
Clean up trailing whitespace.
2 parents 48839e3 + 9a18a38 commit e4afb16

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mod_proxy_protocol.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ static int read_haproxy_v1(pool *p, conn_t *conn,
524524
* check for this, scan the given address fields for illegal (e.g.
525525
* alphabetic) characters, keeping in mind that IPv6 addresses can use
526526
* hex.
527-
*/
527+
*/
528528

529529
if (have_tcp4 == TRUE) {
530530
if (pr_netaddr_get_family(src_addr) != AF_INET) {
@@ -649,7 +649,7 @@ static int read_haproxy_v1(pool *p, conn_t *conn,
649649
*proxied_dst_addr = dst_addr;
650650
*proxied_dst_port = dst_port;
651651
}
652-
652+
653653
return 1;
654654

655655
bad_proto:
@@ -1431,7 +1431,7 @@ MODRET set_proxyprotocolengine(cmd_rec *cmd) {
14311431
if (engine == -1) {
14321432
CONF_ERROR(cmd, "expected Boolean parameter");
14331433
}
1434-
1434+
14351435
c = add_config_param(cmd->argv[0], 1, NULL);
14361436
c->argv[0] = pcalloc(c->pool, sizeof(int));
14371437
*((int *) c->argv[0]) = engine;
@@ -1749,7 +1749,7 @@ static int proxy_protocol_sess_init(void) {
17491749
": session requested from proxied client in unknown class");
17501750
}
17511751
}
1752-
1752+
17531753
return 0;
17541754
}
17551755

t/lib/ProFTPD/Tests/Config/MaxHostsPerUser.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ sub maxhostsperuser_one {
4949
SystemLog => $setup->{log_file},
5050

5151
AuthUserFile => $setup->{auth_user_file},
52-
AuthGroupFile => $setup->{auth_group_file},
52+
AuthGroupFile => $setup->{auth_group_file},
5353

5454
MaxHostsPerUser => $max_hosts,
5555

t/lib/ProFTPD/Tests/Modules/mod_proxy_protocol/sftp.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sub proxy_protocol_sftp_with_proxy {
114114
$client->send_proxy_raw('1.1.1.1', '2.2.2.2', 111, 222);
115115
my $banner = $client->getline();
116116
chomp($banner);
117-
117+
118118
unless ($banner =~ /^SSH\-2\.0\-mod_sftp/) {
119119
die("Received unexpected banner from mod_sftp: '$banner'");
120120
}

0 commit comments

Comments
 (0)