Skip to content
Snippets Groups Projects
Commit 509f69a4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Gisle Vanem's fix to make the 'curl -M' output nicer

parent 662c6592
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ print "/* NEVER EVER edit this manually, fix the mkhelp script instead! */\n"
print "#include <stdio.h>\n";
print "void hugehelp(void)\n";
print "{\n";
print "puts (\n";
print " fputs (\n";
$outsize=0;
for(@out) {
......@@ -82,13 +82,13 @@ for(@out) {
# gcc 2.96 claims ISO C89 only is required to support 509 letter strings
if($outsize > 500) {
# terminate and make another puts() call here
print ");\n puts(\n";
# terminate and make another fputs() call here
print ", stdout);\n fputs(\n";
$outsize=length($new)+1;
}
printf("\"%s\\n\"\n", $new);
}
print " ) ;\n}\n"
print ", stdout) ;\n}\n"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment