]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: Use UTF-8 encoding in comments
authorGergely Nagy <ngg@tresorit.com>
Wed, 3 Jul 2019 12:31:31 +0000 (14:31 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 7 Jul 2019 03:25:20 +0000 (23:25 -0400)
Some editors and IDEs assume that source files use UTF-8 file encodings.
It also fixes the build with MSVC when /utf-8 command line option is
used (this option is mandatory for some other open-source projects, this
is useful when using the same options is desired for building all
libraries of a project).

Closes https://github.com/curl/curl/pull/4087

lib/cookie.c
lib/krb5.c
lib/security.c
lib/transfer.c

index 05ce62193af095bc3f90d008898a35cce9966c75..9a9e14d012990230e4637c81542dbd504a0645b5 100644 (file)
@@ -820,7 +820,7 @@ Curl_cookie_add(struct Curl_easy *data,
         break;
       case 1:
         /* This field got its explanation on the 23rd of May 2001 by
-           Andrés García:
+           Andrés García:
 
            flag: A TRUE/FALSE value indicating if all machines within a given
            domain can access the variable. This value is set automatically by
@@ -834,7 +834,7 @@ Curl_cookie_add(struct Curl_easy *data,
       case 2:
         /* It turns out, that sometimes the file format allows the path
            field to remain not filled in, we try to detect this and work
-           around it! Andrés García made us aware of this... */
+           around it! Andrés García made us aware of this... */
         if(strcmp("TRUE", ptr) && strcmp("FALSE", ptr)) {
           /* only if the path doesn't look like a boolean option! */
           co->path = strdup(ptr);
index 3c340eaf9a4e3aa64691515c85acf8f3fa53e869..5a47d481b4d9bcb84b65b53880de5c562bce6600 100644 (file)
@@ -1,6 +1,6 @@
 /* GSSAPI/krb5 support for FTP - loosely based on old krb4.c
  *
- * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan
+ * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden).
  * Copyright (c) 2004 - 2017 Daniel Stenberg
  * All rights reserved.
index 82ae5c2cdabe0bcac1990f7a47b0a096b9cd22fd..76951548d954d325f73009d41b4fd36f6fd30818 100644 (file)
@@ -7,7 +7,7 @@
  * rewrite to work around the paragraph 2 in the BSD licenses as explained
  * below.
  *
- * Copyright (c) 1998, 1999, 2017 Kungliga Tekniska Högskolan
+ * Copyright (c) 1998, 1999, 2017 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden).
  *
  * Copyright (C) 2001 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
index b25359196b7dcd5dacb6c2d6b5c8c14ced62675f..b9bb5f6edd45748b32d89b7fac29025515255098 100644 (file)
@@ -225,7 +225,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, size_t bytes,
   if(data->state.trailers_state == TRAILERS_SENDING) {
     /* if we're here then that means that we already sent the last empty chunk
        but we didn't send a final CR LF, so we sent 0 CR LF. We then start
-       pulling trailing data until we ²have no more at which point we
+       pulling trailing data until we have no more at which point we
        simply return to the previous point in the state machine as if
        nothing happened.
        */