summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2015-07-20 05:37:50 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2015-07-20 05:37:50 +0000
commit42f02eae5ddc2e138e7a6853160a5417d980bce5 (patch)
treef286990a62add308d591592d0a2edb7679992a9e /regress/usr.sbin
parentfeab71403ee3fe800c186f80447c14a6cc93f4ad (diff)
Fix white spaces.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/relayd/args-http-slow-consumer.pl38
-rw-r--r--regress/usr.sbin/relayd/funcs.pl4
2 files changed, 21 insertions, 21 deletions
diff --git a/regress/usr.sbin/relayd/args-http-slow-consumer.pl b/regress/usr.sbin/relayd/args-http-slow-consumer.pl
index d411894c3d8..bb6ac1b18c1 100644
--- a/regress/usr.sbin/relayd/args-http-slow-consumer.pl
+++ b/regress/usr.sbin/relayd/args-http-slow-consumer.pl
@@ -11,29 +11,29 @@ our %args = (
fast => 1,
max => 100,
func => sub {
- http_request(@_, $size, "1.0", "");
- http_response(@_, $size);
- print STDERR "going to sleep\n";
- sleep 8;
- read_char(@_, $size);
- return;
- },
- rcvbuf => 2**8,
- nocheck => 1,
+ http_request(@_, $size, "1.0", "");
+ http_response(@_, $size);
+ print STDERR "going to sleep\n";
+ sleep 8;
+ read_char(@_, $size);
+ return;
+ },
+ rcvbuf => 2**8,
+ nocheck => 1,
},
relayd => {
- protocol => [ "http",
- "tcp socket buffer 64",
- "match request header log",
- "match request path log",
- ],
+ protocol => [ "http",
+ "tcp socket buffer 64",
+ "match request header log",
+ "match request path log",
+ ],
},
server => {
- fast => 1,
- func => \&http_server,
- sndbuf => 2**8,
- sndtimeo => 2,
- loggrep => 'short write',
+ fast => 1,
+ func => \&http_server,
+ sndbuf => 2**8,
+ sndtimeo => 2,
+ loggrep => 'short write',
},
lengths => [$size],
diff --git a/regress/usr.sbin/relayd/funcs.pl b/regress/usr.sbin/relayd/funcs.pl
index ea07527df89..3537248fc9e 100644
--- a/regress/usr.sbin/relayd/funcs.pl
+++ b/regress/usr.sbin/relayd/funcs.pl
@@ -1,4 +1,4 @@
-# $OpenBSD: funcs.pl,v 1.20 2015/07/18 22:11:34 benno Exp $
+# $OpenBSD: funcs.pl,v 1.21 2015/07/20 05:37:49 bluhm Exp $
# Copyright (c) 2010-2015 Alexander Bluhm <bluhm@openbsd.org>
#
@@ -94,7 +94,7 @@ sub write_blocks {
}
}
print STDERR "\n";
- $outb += write_syswrite($self,"\n\n");
+ $outb += write_syswrite($self,"\n\n");
IO::Handle::flush(\*STDOUT);
print STDERR "LEN: ", $outb, "\n";
}