httpput-postfields.c: shorten string for C89 compliance

httpput-postfields.c:41:3: error: string length ‘522’ is greater than the length ‘509’ ISO C90 compilers are required to support [-Woverlength-strings]
   41 |   "this chapter.";
      |   ^~~~~~~~~~~~~~~

Closes #9555
This commit is contained in:
Daniel Stenberg 2022-09-21 09:32:12 +02:00
parent a2fa5f86d6
commit 9eec75452c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -37,8 +37,10 @@ static const char olivertwist[]=
"small: to wit, a workhouse; and in this workhouse was born; on a day and " "small: to wit, a workhouse; and in this workhouse was born; on a day and "
"date which I need not trouble myself to repeat, inasmuch as it can be of " "date which I need not trouble myself to repeat, inasmuch as it can be of "
"no possible consequence to the reader, in this stage of the business at " "no possible consequence to the reader, in this stage of the business at "
"all events; the item of mortality whose name is prefixed to the head of " "all events; the item of mortality whose name is prefixed";
"this chapter.";
/* ... to the head of this chapter. String cut off to stick within the C90
509 byte limit. */
/* /*
* This example shows a HTTP PUT operation that sends a fixed buffer with * This example shows a HTTP PUT operation that sends a fixed buffer with