summaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index 0fb6eaf0c..61e04c457 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -445,7 +445,7 @@ GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time,
* @param input_charset character set used for @a input
* @param output_charset desired character set for the return value
* @return the converted string (0-terminated),
- * if conversion fails, a copy of the orignal
+ * if conversion fails, a copy of the original
* string is returned.
*/
char *
@@ -519,7 +519,7 @@ fail:
* @param len the number of bytes in the @a input
* @param charset character set to convert from
* @return the converted string (0-terminated),
- * if conversion fails, a copy of the orignal
+ * if conversion fails, a copy of the original
* string is returned.
*/
char *
@@ -542,7 +542,7 @@ GNUNET_STRINGS_to_utf8 (const char *input,
* @param len the number of bytes in the @a input
* @param charset character set to convert to
* @return the converted string (0-terminated),
- * if conversion fails, a copy of the orignal
+ * if conversion fails, a copy of the original
* string is returned.
*/
char *
@@ -641,7 +641,7 @@ GNUNET_STRINGS_filename_expand (const char *fil)
/* do not copy '~' */
fil_ptr = fil + 1;
- /* skip over dir seperator to be consistent */
+ /* skip over dir separator to be consistent */
if (fil_ptr[0] == DIR_SEPARATOR)
fil_ptr++;
}
@@ -1217,7 +1217,7 @@ GNUNET_STRINGS_check_filename (const char *filename,
* @param addrlen length of @a zt_addr (not counting 0-terminator).
* @param r_buf a buffer to fill. Initially gets filled with zeroes,
* then its sin6_port, sin6_family and sin6_addr are set appropriately.
- * @return #GNUNET_OK if conversion succeded.
+ * @return #GNUNET_OK if conversion succeeded.
* #GNUNET_SYSERR otherwise, in which
* case the contents of @a r_buf are undefined.
*/
@@ -1291,7 +1291,7 @@ GNUNET_STRINGS_to_address_ipv6 (const char *zt_addr,
* @param zt_addr 0-terminated string. May be mangled by the function.
* @param addrlen length of @a zt_addr (not counting 0-terminator).
* @param r_buf a buffer to fill.
- * @return #GNUNET_OK if conversion succeded.
+ * @return #GNUNET_OK if conversion succeeded.
* #GNUNET_SYSERR otherwise, in which case
* the contents of @a r_buf are undefined.
*/
@@ -1341,7 +1341,7 @@ GNUNET_STRINGS_to_address_ipv4 (const char *zt_addr,
* @param addrlen number of bytes in @a addr (if addr is 0-terminated,
* 0-terminator should not be counted towards addrlen).
* @param r_buf a buffer to fill.
- * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which
+ * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which
* case the contents of @a r_buf are undefined.
*/
int