aboutsummaryrefslogtreecommitdiff
path: root/src/mkhelp.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-16 13:32:45 +0000
committerYang Tse <yangsita@gmail.com>2010-02-16 13:32:45 +0000
commit46b112bcd439f4413925a7300d66a3e6f148765e (patch)
treec925ce0c32a0af8bbcf427187c3838d005e3218b /src/mkhelp.pl
parentf442dd6496c8710c4000a078e8085238fdaa7545 (diff)
replaced tabs with spaces
Diffstat (limited to 'src/mkhelp.pl')
-rw-r--r--src/mkhelp.pl26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mkhelp.pl b/src/mkhelp.pl
index c84ab4ae7..03c884fe9 100644
--- a/src/mkhelp.pl
+++ b/src/mkhelp.pl
@@ -20,10 +20,10 @@ if($README eq "") {
}
-push @out, " _ _ ____ _ \n";
-push @out, " Project ___| | | | _ \\| | \n";
-push @out, " / __| | | | |_) | | \n";
-push @out, " | (__| |_| | _ <| |___ \n";
+push @out, " _ _ ____ _\n";
+push @out, " Project ___| | | | _ \\| |\n";
+push @out, " / __| | | | |_) | |\n";
+push @out, " | (__| |_| | _ <| |___\n";
push @out, " \\___|\\___/|_| \\_\\_____|\n";
my $olen=0;
@@ -35,8 +35,8 @@ while (<STDIN>) {
if($line =~ /^([ \t]*\n|curl)/i) {
# cut off headers and empty lines
- $wline++; # count number of cut off lines
- next;
+ $wline++; # count number of cut off lines
+ next;
}
my $text = $line;
@@ -57,8 +57,8 @@ while (<STDIN>) {
$olen = $tlen;
if($wline) {
- # we only make one empty line max
- $wline = 0;
+ # we only make one empty line max
+ $wline = 0;
push @out, "\n";
}
push @out, $line;
@@ -174,12 +174,12 @@ void hugehelp(void)
z.next_out = buf;
status = inflate(&z, Z_SYNC_FLUSH);
if (status == Z_OK || status == Z_STREAM_END) {
- fwrite(buf, BUF_SIZE - z.avail_out, 1, stdout);
- if (status == Z_STREAM_END)
- break;
+ fwrite(buf, BUF_SIZE - z.avail_out, 1, stdout);
+ if (status == Z_STREAM_END)
+ break;
}
- else
- break; /* Error */
+ else
+ break; /* Error */
}
free(buf);
}