diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-11 00:22:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-11 00:22:24 +0200 |
commit | 2c5386463b0481d2179a12f30ec2546e56372506 (patch) | |
tree | ab11b0e73e32a3c2ae1e34ae4bd8f0c7de977cb1 /src/namestore/plugin_gtk_namestore_tlsa.c | |
parent | 641a7f06fc759e7db40ed20293d4e6df27dc49d3 (diff) | |
download | gnunet-gtk-2c5386463b0481d2179a12f30ec2546e56372506.tar.gz gnunet-gtk-2c5386463b0481d2179a12f30ec2546e56372506.zip |
adjust max values for SOA
Diffstat (limited to 'src/namestore/plugin_gtk_namestore_tlsa.c')
-rw-r--r-- | src/namestore/plugin_gtk_namestore_tlsa.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/namestore/plugin_gtk_namestore_tlsa.c b/src/namestore/plugin_gtk_namestore_tlsa.c index 18ac43ac..f4c6ef05 100644 --- a/src/namestore/plugin_gtk_namestore_tlsa.c +++ b/src/namestore/plugin_gtk_namestore_tlsa.c | |||
@@ -842,17 +842,18 @@ import_address_cb (void *cls, | |||
842 | gnutls_certificate_type_t type; | 842 | gnutls_certificate_type_t type; |
843 | gnutls_session_t session; | 843 | gnutls_session_t session; |
844 | 844 | ||
845 | if (GNUNET_YES == ic->done) | ||
846 | return; | ||
845 | if (NULL == addr) | 847 | if (NULL == addr) |
846 | { | 848 | { |
847 | if (GNUNET_YES != ic->done) | 849 | if (GNUNET_YES != ic->done) |
848 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 850 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
849 | _("Name resolution failed\n")); | 851 | _("Name resolution for `%s' failed\n"), |
852 | ic->name); | ||
850 | GNUNET_free (ic->name); | 853 | GNUNET_free (ic->name); |
851 | GNUNET_free (ic); | 854 | GNUNET_free (ic); |
852 | return; | 855 | return; |
853 | } | 856 | } |
854 | if (GNUNET_YES == ic->done) | ||
855 | return; | ||
856 | port = gtk_spin_button_get_value | 857 | port = gtk_spin_button_get_value |
857 | (GTK_SPIN_BUTTON (gtk_builder_get_object (ic->builder, | 858 | (GTK_SPIN_BUTTON (gtk_builder_get_object (ic->builder, |
858 | "edit_dialog_port_spinbutton"))); | 859 | "edit_dialog_port_spinbutton"))); |