diff options
author | Gergely Nagy <ngg@tresorit.com> | 2019-07-03 14:31:31 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-07-06 23:25:20 -0400 |
commit | cf4255c8476ba919456a69099d02245419ff6ac3 (patch) | |
tree | b70100db4f27c5c2988618c32cfa7d1948dda5bd /lib | |
parent | 21e2df801556dcdc451c3372248c481552451d7f (diff) |
lib: Use UTF-8 encoding in comments
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cookie.c | 4 | ||||
-rw-r--r-- | lib/krb5.c | 2 | ||||
-rw-r--r-- | lib/security.c | 2 | ||||
-rw-r--r-- | lib/transfer.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index 05ce62193..9a9e14d01 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -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); diff --git a/lib/krb5.c b/lib/krb5.c index 3c340eaf9..5a47d481b 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -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. diff --git a/lib/security.c b/lib/security.c index 82ae5c2cd..76951548d 100644 --- a/lib/security.c +++ b/lib/security.c @@ -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. diff --git a/lib/transfer.c b/lib/transfer.c index b25359196..b9bb5f6ed 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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. */ |