diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-08-22 15:07:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-08-22 15:07:05 +0000 |
commit | 0a47e24bec0704cbc610605c7ad250e2052d9f86 (patch) | |
tree | 9b156071757c702e86e319108b092c8c7472815a /src/namestore/gnunet-namestore.c | |
parent | 6ee9d185c22d09d0e7e9da44522b33b03c5fa30b (diff) | |
download | gnunet-0a47e24bec0704cbc610605c7ad250e2052d9f86.tar.gz gnunet-0a47e24bec0704cbc610605c7ad250e2052d9f86.zip |
fix #4620
Diffstat (limited to 'src/namestore/gnunet-namestore.c')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 7a671f1b6..d19184999 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -704,7 +704,8 @@ del_monitor (void *cls, | |||
704 | del_qe = GNUNET_NAMESTORE_records_store (ns, | 704 | del_qe = GNUNET_NAMESTORE_records_store (ns, |
705 | &zone_pkey, | 705 | &zone_pkey, |
706 | name, | 706 | name, |
707 | 0, NULL, | 707 | 0, |
708 | NULL, | ||
708 | &del_continuation, | 709 | &del_continuation, |
709 | NULL); | 710 | NULL); |
710 | return; | 711 | return; |
@@ -740,7 +741,8 @@ del_monitor (void *cls, | |||
740 | del_qe = GNUNET_NAMESTORE_records_store (ns, | 741 | del_qe = GNUNET_NAMESTORE_records_store (ns, |
741 | &zone_pkey, | 742 | &zone_pkey, |
742 | name, | 743 | name, |
743 | rd_left, rdx, | 744 | rd_left, |
745 | rdx, | ||
744 | &del_continuation, | 746 | &del_continuation, |
745 | NULL); | 747 | NULL); |
746 | } | 748 | } |
@@ -809,7 +811,9 @@ testservice_task (void *cls, | |||
809 | type = GNUNET_GNSRECORD_typename_to_number (typestring); | 811 | type = GNUNET_GNSRECORD_typename_to_number (typestring); |
810 | if (UINT32_MAX == type) | 812 | if (UINT32_MAX == type) |
811 | { | 813 | { |
812 | fprintf (stderr, _("Unsupported type `%s'\n"), typestring); | 814 | fprintf (stderr, |
815 | _("Unsupported type `%s'\n"), | ||
816 | typestring); | ||
813 | GNUNET_SCHEDULER_shutdown (); | 817 | GNUNET_SCHEDULER_shutdown (); |
814 | ret = 1; | 818 | ret = 1; |
815 | return; | 819 | return; |
@@ -829,7 +833,8 @@ testservice_task (void *cls, | |||
829 | &data, | 833 | &data, |
830 | &data_size)) | 834 | &data_size)) |
831 | { | 835 | { |
832 | fprintf (stderr, _("Value `%s' invalid for record type `%s'\n"), | 836 | fprintf (stderr, |
837 | _("Value `%s' invalid for record type `%s'\n"), | ||
833 | value, | 838 | value, |
834 | typestring); | 839 | typestring); |
835 | GNUNET_SCHEDULER_shutdown (); | 840 | GNUNET_SCHEDULER_shutdown (); |
@@ -845,7 +850,8 @@ testservice_task (void *cls, | |||
845 | ret = 1; | 850 | ret = 1; |
846 | return; | 851 | return; |
847 | } | 852 | } |
848 | if (0 == strcmp (expirationstring, "never")) | 853 | if (0 == strcmp (expirationstring, |
854 | "never")) | ||
849 | { | 855 | { |
850 | etime_abs = GNUNET_TIME_UNIT_FOREVER_ABS; | 856 | etime_abs = GNUNET_TIME_UNIT_FOREVER_ABS; |
851 | etime_is_rel = GNUNET_NO; | 857 | etime_is_rel = GNUNET_NO; |