diff options
Diffstat (limited to 'src/namestore/plugin_gtk_namestore_tlsa.c')
-rw-r--r-- | src/namestore/plugin_gtk_namestore_tlsa.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/namestore/plugin_gtk_namestore_tlsa.c b/src/namestore/plugin_gtk_namestore_tlsa.c index 719d51cc..d235c08e 100644 --- a/src/namestore/plugin_gtk_namestore_tlsa.c +++ b/src/namestore/plugin_gtk_namestore_tlsa.c | |||
@@ -1,22 +1,22 @@ | |||
1 | /* | 1 | /* |
2 | * This file is part of GNUnet | 2 | * This file is part of GNUnet |
3 | * Copyright (C) 2009-2014 GNUnet e.V. | 3 | * Copyright (C) 2009-2014 GNUnet e.V. |
4 | * | 4 | * |
5 | * GNUnet is free software; you can redistribute it and/or modify | 5 | * GNUnet is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published | 6 | * it under the terms of the GNU General Public License as published |
7 | * by the Free Software Foundation; either version 3, or (at your | 7 | * by the Free Software Foundation; either version 3, or (at your |
8 | * option) any later version. | 8 | * option) any later version. |
9 | * | 9 | * |
10 | * GNUnet is distributed in the hope that it will be useful, but | 10 | * GNUnet is distributed in the hope that it will be useful, but |
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * General Public License for more details. | 13 | * General Public License for more details. |
14 | * | 14 | * |
15 | * You should have received a copy of the GNU General Public License | 15 | * You should have received a copy of the GNU General Public License |
16 | * along with GNUnet; see the file COPYING. If not, write to the | 16 | * along with GNUnet; see the file COPYING. If not, write to the |
17 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | * Boston, MA 02110-1301, USA. | 18 | * Boston, MA 02110-1301, USA. |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file namestore/plugin_gtk_namestore_tlsa.c | 21 | * @file namestore/plugin_gtk_namestore_tlsa.c |
22 | * @brief namestore plugin for editing TLSA records | 22 | * @brief namestore plugin for editing TLSA records |
@@ -203,7 +203,7 @@ tlsa_load (void *cls, gchar *n_value, GtkBuilder *builder) | |||
203 | size_t slen = strlen (n_value) + 1; | 203 | size_t slen = strlen (n_value) + 1; |
204 | char cert_data[slen]; | 204 | char cert_data[slen]; |
205 | 205 | ||
206 | if (7 != SSCANF (n_value, | 206 | if (7 != sscanf (n_value, |
207 | "%u %u %u %u %u %u %s", | 207 | "%u %u %u %u %u %u %s", |
208 | &protocol, | 208 | &protocol, |
209 | &service, | 209 | &service, |
@@ -804,7 +804,7 @@ import_address_cb (void *cls, const struct sockaddr *addr, socklen_t addrlen) | |||
804 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 804 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
805 | _ ("Failed to connect to target address `%s': %s\n"), | 805 | _ ("Failed to connect to target address `%s': %s\n"), |
806 | GNUNET_a2s (addr, addrlen), | 806 | GNUNET_a2s (addr, addrlen), |
807 | STRERROR (errno)); | 807 | strerror (errno)); |
808 | GNUNET_NETWORK_socket_close (ic->sock); | 808 | GNUNET_NETWORK_socket_close (ic->sock); |
809 | return; | 809 | return; |
810 | } | 810 | } |