diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-26 15:12:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-26 15:12:34 +0200 |
commit | b6cbb6f800ef9aeebcfb76a7ba721d4b95a2e2ca (patch) | |
tree | c493c4495db597a0382c32f67837cfac23b9ddcf /src/gnsrecord/gnsrecord_misc.c | |
parent | 4644e3ae1def4f43a24bc76f5dacc3dd94807126 (diff) | |
download | gnunet-b6cbb6f800ef9aeebcfb76a7ba721d4b95a2e2ca.tar.gz gnunet-b6cbb6f800ef9aeebcfb76a7ba721d4b95a2e2ca.zip |
-fix typos
Diffstat (limited to 'src/gnsrecord/gnsrecord_misc.c')
-rw-r--r-- | src/gnsrecord/gnsrecord_misc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gnsrecord/gnsrecord_misc.c b/src/gnsrecord/gnsrecord_misc.c index 54d8fb860..5e3bbdb8c 100644 --- a/src/gnsrecord/gnsrecord_misc.c +++ b/src/gnsrecord/gnsrecord_misc.c | |||
@@ -44,6 +44,7 @@ GNUNET_GNSRECORD_string_normalize (const char *src) | |||
44 | return GNUNET_STRINGS_utf8_normalize (src); | 44 | return GNUNET_STRINGS_utf8_normalize (src); |
45 | } | 45 | } |
46 | 46 | ||
47 | |||
47 | enum GNUNET_GenericReturnValue | 48 | enum GNUNET_GenericReturnValue |
48 | GNUNET_GNSRECORD_label_check (const char*label, char **emsg) | 49 | GNUNET_GNSRECORD_label_check (const char*label, char **emsg) |
49 | { | 50 | { |
@@ -60,6 +61,7 @@ GNUNET_GNSRECORD_label_check (const char*label, char **emsg) | |||
60 | return GNUNET_OK; | 61 | return GNUNET_OK; |
61 | } | 62 | } |
62 | 63 | ||
64 | |||
63 | /** | 65 | /** |
64 | * Convert a zone key to a string (for printing debug messages). | 66 | * Convert a zone key to a string (for printing debug messages). |
65 | * This is one of the very few calls in the entire API that is | 67 | * This is one of the very few calls in the entire API that is |
@@ -409,6 +411,7 @@ GNUNET_GNSRECORD_record_to_identity_key (const struct GNUNET_GNSRECORD_Data *rd, | |||
409 | 411 | ||
410 | } | 412 | } |
411 | 413 | ||
414 | |||
412 | enum GNUNET_GenericReturnValue | 415 | enum GNUNET_GenericReturnValue |
413 | GNUNET_GNSRECORD_normalize_record_set (const char *label, | 416 | GNUNET_GNSRECORD_normalize_record_set (const char *label, |
414 | const struct | 417 | const struct |
@@ -488,7 +491,7 @@ GNUNET_GNSRECORD_normalize_record_set (const char *label, | |||
488 | (GNUNET_YES == have_gns2dns)) | 491 | (GNUNET_YES == have_gns2dns)) |
489 | { | 492 | { |
490 | *emsg = GNUNET_strdup (_ ( | 493 | *emsg = GNUNET_strdup (_ ( |
491 | "Redirection record set conains mutually exclusive records.")); | 494 | "Redirection record set contains mutually exclusive records.")); |
492 | return GNUNET_SYSERR; | 495 | return GNUNET_SYSERR; |
493 | } | 496 | } |
494 | /* No redirection records under empty label*/ | 497 | /* No redirection records under empty label*/ |
@@ -514,7 +517,7 @@ GNUNET_GNSRECORD_normalize_record_set (const char *label, | |||
514 | (GNUNET_YES == have_zone_delegation)) | 517 | (GNUNET_YES == have_zone_delegation)) |
515 | { | 518 | { |
516 | *emsg = GNUNET_strdup (_ ( | 519 | *emsg = GNUNET_strdup (_ ( |
517 | "Redirection record set conains mutually exclusive records.")); | 520 | "Redirection record set contains mutually exclusive records.")); |
518 | return GNUNET_SYSERR; | 521 | return GNUNET_SYSERR; |
519 | } | 522 | } |
520 | have_gns2dns = GNUNET_YES; | 523 | have_gns2dns = GNUNET_YES; |
@@ -557,6 +560,7 @@ GNUNET_GNSRECORD_normalize_record_set (const char *label, | |||
557 | return GNUNET_OK; | 560 | return GNUNET_OK; |
558 | } | 561 | } |
559 | 562 | ||
563 | |||
560 | enum GNUNET_GenericReturnValue | 564 | enum GNUNET_GenericReturnValue |
561 | GNUNET_GNSRECORD_convert_records_for_export (const char *label, | 565 | GNUNET_GNSRECORD_convert_records_for_export (const char *label, |
562 | const struct | 566 | const struct |
@@ -580,5 +584,4 @@ GNUNET_GNSRECORD_convert_records_for_export (const char *label, | |||
580 | } | 584 | } |
581 | 585 | ||
582 | 586 | ||
583 | |||
584 | /* end of gnsrecord_misc.c */ | 587 | /* end of gnsrecord_misc.c */ |