mirror of
https://github.com/curl/curl.git
synced 2026-08-12 18:40:59 +03:00
lib: fix formatting nits (part 2)
From `lib/curl*` to `lib/g*`. With fixes to part 1.
part 1: 47a1ab2ebe #19764
Closes #19800
This commit is contained in:
parent
3e2a946926
commit
86b346443b
56 changed files with 976 additions and 1088 deletions
|
|
@ -131,19 +131,19 @@ for my $name (sort @names) {
|
|||
$name = $alias{$name};
|
||||
$flag = "CURLOT_FLAG_ALIAS";
|
||||
}
|
||||
my $o = sprintf(" {\"%s\", %s, %s, %s},\n",
|
||||
my $o = sprintf(" { \"%s\", %s, %s, %s },\n",
|
||||
$oname, $opt{$name}, $type{$name}, $flag);
|
||||
if(length($o) < 80) {
|
||||
print $o;
|
||||
}
|
||||
else {
|
||||
printf(" {\"%s\", %s,\n %s, %s},\n",
|
||||
$oname, $opt{$name}, $type{$name}, $flag);
|
||||
printf(" { \"%s\", %s,\n %s, %s },\n",
|
||||
$oname, $opt{$name}, $type{$name}, $flag);
|
||||
}
|
||||
}
|
||||
|
||||
print <<FOOT
|
||||
{NULL, CURLOPT_LASTENTRY, CURLOT_LONG, 0} /* end of table */
|
||||
{ NULL, CURLOPT_LASTENTRY, CURLOT_LONG, 0 } /* end of table */
|
||||
};
|
||||
|
||||
#ifdef DEBUGBUILD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue