Commit 297516e1 authored by fmmedeiros's avatar fmmedeiros Committed by Jay Satiro
Browse files

examples/curlx: Fix code style

- Add braces around multi-line if statement.

Closes https://github.com/curl/curl/pull/2096
parent 715f1f53
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ int main(int argc, char **argv)
             res = curl_easy_perform(p.curl));
  {
    int result = curl_easy_getinfo(p.curl, CURLINFO_CONTENT_TYPE, &response);
    if(mimetypeaccept && p.verbose)
    if(mimetypeaccept && p.verbose) {
      if(!strcmp(mimetypeaccept, response))
        BIO_printf(p.errorbio, "the response has a correct mimetype : %s\n",
                   response);
@@ -546,6 +546,7 @@ int main(int argc, char **argv)
                   "mime type, it is %s instead of %s\n",
                   response, mimetypeaccept);
    }
  }

  /*** code d'erreur si accept mime ***, egalement code return HTTP != 200 ***/