From 929f7cec8354d1eff27f0bcd356ab110e48e94aa Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 10 Mar 2015 12:24:37 +0000 Subject: =?UTF-8?q?stun:=20Fix=20documentation=20to=20use=20=E2=80=98nul-t?= =?UTF-8?q?erminated=E2=80=99=20for=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NULL is ((gpointer) 0). nul is '\0'. Arrays can be NULL terminated. Strings can be nul terminated. --- stun/stunmessage.h | 6 +++--- 1 file 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, * - The string will be NULL-terminated. + The string will be nul-terminated. * @@ -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); -- cgit v1.2.1