summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-03-10 12:24:37 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-03-10 12:24:37 +0000
commit929f7cec8354d1eff27f0bcd356ab110e48e94aa (patch)
tree66fa04368104727dae7121137588a1e68b8355ec /stun
parent96e1d3934d973d98acac5d998b85bbc936af2894 (diff)
downloadlibnice-929f7cec8354d1eff27f0bcd356ab110e48e94aa.tar.gz
stun: Fix documentation to use ‘nul-terminated’ for strings
NULL is ((gpointer) 0). nul is '\0'. Arrays can be NULL terminated. Strings can be nul terminated.
Diffstat (limited to 'stun')
-rw-r--r--stun/stunmessage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stun/stunmessage.h b/stun/stunmessage.h
index a57e170..24609ed 100644
--- a/stun/stunmessage.h
+++ b/stun/stunmessage.h
@@ -625,7 +625,7 @@ StunMessageReturn stun_message_find64 (const StunMessage *msg,
*
<note>
<para>
- The string will be NULL-terminated.
+ The string will be nul-terminated.
</para>
</note>
*
@@ -779,7 +779,7 @@ StunMessageReturn stun_message_append64 (StunMessage *msg,
* @type: The #StunAttribute to append
* @str: The string to append
*
- * Adds an attribute from a NULL-terminated string to a STUN message
+ * Adds an attribute from a nul-terminated string to a STUN message
*
* Returns: A #StunMessageReturn value.
*/
@@ -1001,7 +1001,7 @@ bool stun_optional (uint16_t t);
*
* Transforms a STUN error-code into a human readable string
*
- * Returns: A static pointer to a NULL-terminated error message string.
+ * Returns: A static pointer to a nul-terminated error message string.
*/
const char *stun_strerror (StunError code);