summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@collabora.com>2019-01-14 19:03:38 +0100
committerJakub Adam <jakub.adam@collabora.com>2019-01-14 19:13:12 +0100
commitd15db0810b5ef644c8078baec12f95738f59ba9b (patch)
treeda19a8afeaf7c8a323aaa441d7d8825091703a97
parent6b1eec0630516698ac9cd3343ef7eb8515fee231 (diff)
downloadlibnice-d15db0810b5ef644c8078baec12f95738f59ba9b.tar.gz
agent: Fix spelling
Errors reported by lintian -EvIL -pedantic.
-rw-r--r--agent/conncheck.c2
-rw-r--r--agent/interfaces.c8
-rw-r--r--stun/usages/ice.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 66290b3..b3093e0 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -4128,7 +4128,7 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, NiceStream *stream,
}
if (valid != STUN_VALIDATION_SUCCESS) {
- nice_debug ("Agent %p : STUN message is unsuccessfull %d, ignoring", agent, valid);
+ nice_debug ("Agent %p : STUN message is unsuccessful %d, ignoring", agent, valid);
return FALSE;
}
diff --git a/agent/interfaces.c b/agent/interfaces.c
index a81888e..f3f6d7f 100644
--- a/agent/interfaces.c
+++ b/agent/interfaces.c
@@ -143,7 +143,7 @@ nice_interfaces_get_local_interfaces (void)
struct ifconf ifc;
if ((sockfd = socket (AF_INET, SOCK_DGRAM, IPPROTO_IP)) < 0) {
- nice_debug ("error : Cannot open socket to retreive interface list");
+ nice_debug ("error : Cannot open socket to retrieve interface list");
return NULL;
}
@@ -312,7 +312,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
gchar *loopback = NULL;
if ((sockfd = socket (AF_INET, SOCK_DGRAM, IPPROTO_IP)) < 0) {
- nice_debug ("Error : Cannot open socket to retreive interface list");
+ nice_debug ("Error : Cannot open socket to retrieve interface list");
return NULL;
}
@@ -395,7 +395,7 @@ nice_interfaces_get_ip_for_interface (gchar *interface_name)
g_strlcpy (ifr.ifr_name, interface_name, sizeof (ifr.ifr_name));
if ((sockfd = socket (AF_INET, SOCK_DGRAM, IPPROTO_IP)) < 0) {
- nice_debug ("Error : Cannot open socket to retreive interface list");
+ nice_debug ("Error : Cannot open socket to retrieve interface list");
return NULL;
}
@@ -458,7 +458,7 @@ SOCKET nice_interfaces_get_WSA_socket ()
if ((sock = socket (AF_INET, SOCK_DGRAM, 0)) == INVALID_SOCKET) {
- nice_debug ("Error : Could not open socket to retreive interface list,"
+ nice_debug ("Error : Could not open socket to retrieve interface list,"
" error no : %d", WSAGetLastError ());
return INVALID_SOCKET;
}
diff --git a/stun/usages/ice.h b/stun/usages/ice.h
index f74caa7..561a0ce 100644
--- a/stun/usages/ice.h
+++ b/stun/usages/ice.h
@@ -168,7 +168,7 @@ stun_usage_ice_conncheck_create (StunAgent *agent, StunMessage *msg,
* @compatibility: The compatibility mode to use for processing the conncheck
* response
*
- * Process an ICE connectivity check STUN message and retreive the
+ * Process an ICE connectivity check STUN message and retrieve the
* mapped address from the message
* <para> See also stun_usage_ice_conncheck_priority() and
* stun_usage_ice_conncheck_use_candidate() </para>