mirror of
https://github.com/curl/curl.git
synced 2026-05-01 18:48:23 +03:00
example: fix formatting nits
Also: - drop non-portable `__STRING()` macro use where still used. Closes #19746
This commit is contained in:
parent
c10dda9ebb
commit
aad3c2e8e1
50 changed files with 225 additions and 227 deletions
|
|
@ -55,9 +55,8 @@
|
|||
// libxml callback context structure
|
||||
//
|
||||
|
||||
struct Context
|
||||
{
|
||||
Context(): addTitle(false) { }
|
||||
struct Context {
|
||||
Context() : addTitle(false) {}
|
||||
|
||||
bool addTitle;
|
||||
std::string title;
|
||||
|
|
@ -79,7 +78,7 @@ static size_t writer(char *data, size_t size, size_t nmemb,
|
|||
if(writerData == NULL)
|
||||
return 0;
|
||||
|
||||
writerData->append(data, size*nmemb);
|
||||
writerData->append(data, size * nmemb);
|
||||
|
||||
return size * nmemb;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue