example: fix formatting nits

Also:
- drop non-portable `__STRING()` macro use where still used.

Closes #19746
This commit is contained in:
Viktor Szakats 2025-11-28 14:19:18 +01:00
parent c10dda9ebb
commit aad3c2e8e1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
50 changed files with 225 additions and 227 deletions

View file

@ -67,7 +67,7 @@ static size_t read_cb(char *ptr, size_t size, size_t nmemb, void *userp)
size_t room = size * nmemb;
size_t len;
if((size == 0) || (nmemb == 0) || ((size*nmemb) < 1)) {
if((size == 0) || (nmemb == 0) || ((size * nmemb) < 1)) {
return 0;
}
@ -93,7 +93,7 @@ int main(void)
curl = curl_easy_init();
if(curl) {
struct curl_slist *recipients = NULL;
struct upload_status upload_ctx = { 0 };
struct upload_status upload_ctx = {0};
/* Set username and password */
curl_easy_setopt(curl, CURLOPT_USERNAME, "user");