summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-26 20:45:21 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-26 21:42:44 +0000
commit1abe65d928440b3b23d25746b966dd4169c358b9 (patch)
treea486ff20aee5dda2a65401d4e6da76852fedf354 /lib/url.c
parentb7f740f2fc6c9b5e96ccbc013aeaae4093a9f1ed (diff)
downloadcurl-1abe65d928440b3b23d25746b966dd4169c358b9.tar.gz
code/docs: Use Unix rather than UNIX to avoid use of the trademark
Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index 3d6f8fd14..788f04849 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -5089,7 +5089,7 @@ static CURLcode resolve_server(struct SessionHandle *data,
#ifdef USE_UNIX_SOCKETS
if(data->set.str[STRING_UNIX_SOCKET_PATH]) {
- /* UNIX domain sockets are local. The host gets ignored, just use the
+ /* Unix domain sockets are local. The host gets ignored, just use the
* specified domain socket address. Do not cache "DNS entries". There is
* no DNS involved and we already have the filesystem path available */
const char *path = data->set.str[STRING_UNIX_SOCKET_PATH];
@@ -5102,7 +5102,7 @@ static CURLcode resolve_server(struct SessionHandle *data,
else {
/* Long paths are not supported for now */
if(strlen(path) >= sizeof(((struct sockaddr_un *)0)->sun_path)) {
- failf(data, "UNIX socket path too long: '%s'", path);
+ failf(data, "Unix socket path too long: '%s'", path);
result = CURLE_COULDNT_RESOLVE_HOST;
}
else
@@ -5430,7 +5430,7 @@ static CURLcode create_conn(struct SessionHandle *data,
#ifdef USE_UNIX_SOCKETS
if(proxy && data->set.str[STRING_UNIX_SOCKET_PATH]) {
- free(proxy); /* UNIX domain sockets cannot be proxied, so disable it */
+ free(proxy); /* Unix domain sockets cannot be proxied, so disable it */
proxy = NULL;
}
#endif