diff options
Diffstat (limited to 'src/util/strings.c')
-rw-r--r-- | src/util/strings.c | 14 |
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, | |||
445 | * @param input_charset character set used for @a input | 445 | * @param input_charset character set used for @a input |
446 | * @param output_charset desired character set for the return value | 446 | * @param output_charset desired character set for the return value |
447 | * @return the converted string (0-terminated), | 447 | * @return the converted string (0-terminated), |
448 | * if conversion fails, a copy of the orignal | 448 | * if conversion fails, a copy of the original |
449 | * string is returned. | 449 | * string is returned. |
450 | */ | 450 | */ |
451 | char * | 451 | char * |
@@ -519,7 +519,7 @@ fail: | |||
519 | * @param len the number of bytes in the @a input | 519 | * @param len the number of bytes in the @a input |
520 | * @param charset character set to convert from | 520 | * @param charset character set to convert from |
521 | * @return the converted string (0-terminated), | 521 | * @return the converted string (0-terminated), |
522 | * if conversion fails, a copy of the orignal | 522 | * if conversion fails, a copy of the original |
523 | * string is returned. | 523 | * string is returned. |
524 | */ | 524 | */ |
525 | char * | 525 | char * |
@@ -542,7 +542,7 @@ GNUNET_STRINGS_to_utf8 (const char *input, | |||
542 | * @param len the number of bytes in the @a input | 542 | * @param len the number of bytes in the @a input |
543 | * @param charset character set to convert to | 543 | * @param charset character set to convert to |
544 | * @return the converted string (0-terminated), | 544 | * @return the converted string (0-terminated), |
545 | * if conversion fails, a copy of the orignal | 545 | * if conversion fails, a copy of the original |
546 | * string is returned. | 546 | * string is returned. |
547 | */ | 547 | */ |
548 | char * | 548 | char * |
@@ -641,7 +641,7 @@ GNUNET_STRINGS_filename_expand (const char *fil) | |||
641 | /* do not copy '~' */ | 641 | /* do not copy '~' */ |
642 | fil_ptr = fil + 1; | 642 | fil_ptr = fil + 1; |
643 | 643 | ||
644 | /* skip over dir seperator to be consistent */ | 644 | /* skip over dir separator to be consistent */ |
645 | if (fil_ptr[0] == DIR_SEPARATOR) | 645 | if (fil_ptr[0] == DIR_SEPARATOR) |
646 | fil_ptr++; | 646 | fil_ptr++; |
647 | } | 647 | } |
@@ -1217,7 +1217,7 @@ GNUNET_STRINGS_check_filename (const char *filename, | |||
1217 | * @param addrlen length of @a zt_addr (not counting 0-terminator). | 1217 | * @param addrlen length of @a zt_addr (not counting 0-terminator). |
1218 | * @param r_buf a buffer to fill. Initially gets filled with zeroes, | 1218 | * @param r_buf a buffer to fill. Initially gets filled with zeroes, |
1219 | * then its sin6_port, sin6_family and sin6_addr are set appropriately. | 1219 | * then its sin6_port, sin6_family and sin6_addr are set appropriately. |
1220 | * @return #GNUNET_OK if conversion succeded. | 1220 | * @return #GNUNET_OK if conversion succeeded. |
1221 | * #GNUNET_SYSERR otherwise, in which | 1221 | * #GNUNET_SYSERR otherwise, in which |
1222 | * case the contents of @a r_buf are undefined. | 1222 | * case the contents of @a r_buf are undefined. |
1223 | */ | 1223 | */ |
@@ -1291,7 +1291,7 @@ GNUNET_STRINGS_to_address_ipv6 (const char *zt_addr, | |||
1291 | * @param zt_addr 0-terminated string. May be mangled by the function. | 1291 | * @param zt_addr 0-terminated string. May be mangled by the function. |
1292 | * @param addrlen length of @a zt_addr (not counting 0-terminator). | 1292 | * @param addrlen length of @a zt_addr (not counting 0-terminator). |
1293 | * @param r_buf a buffer to fill. | 1293 | * @param r_buf a buffer to fill. |
1294 | * @return #GNUNET_OK if conversion succeded. | 1294 | * @return #GNUNET_OK if conversion succeeded. |
1295 | * #GNUNET_SYSERR otherwise, in which case | 1295 | * #GNUNET_SYSERR otherwise, in which case |
1296 | * the contents of @a r_buf are undefined. | 1296 | * the contents of @a r_buf are undefined. |
1297 | */ | 1297 | */ |
@@ -1341,7 +1341,7 @@ GNUNET_STRINGS_to_address_ipv4 (const char *zt_addr, | |||
1341 | * @param addrlen number of bytes in @a addr (if addr is 0-terminated, | 1341 | * @param addrlen number of bytes in @a addr (if addr is 0-terminated, |
1342 | * 0-terminator should not be counted towards addrlen). | 1342 | * 0-terminator should not be counted towards addrlen). |
1343 | * @param r_buf a buffer to fill. | 1343 | * @param r_buf a buffer to fill. |
1344 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which | 1344 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which |
1345 | * case the contents of @a r_buf are undefined. | 1345 | * case the contents of @a r_buf are undefined. |
1346 | */ | 1346 | */ |
1347 | int | 1347 | int |