aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 124594e90..f0197feb8 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1725,15 +1725,15 @@ wlan_plugin_address_pretty_printer (void *cls, const char *type,
1725 if (sizeof (struct WlanAddress) != addrlen) 1725 if (sizeof (struct WlanAddress) != addrlen)
1726 { 1726 {
1727 /* invalid address */ 1727 /* invalid address */
1728 LOG (GNUNET_ERROR_TYPE_WARNING, 1728 asc (asc_cls, NULL, GNUNET_SYSERR);
1729 _("WLAN address with invalid size encountered\n")); 1729 }
1730 asc (asc_cls, NULL); 1730 else
1731 return; 1731 {
1732 ret = GNUNET_strdup (wlan_plugin_address_to_string(NULL, addr, addrlen));
1733 asc (asc_cls, ret, GNUNET_OK);
1734 GNUNET_free (ret);
1732 } 1735 }
1733 ret = GNUNET_strdup (wlan_plugin_address_to_string(NULL, addr, addrlen)); 1736 asc (asc_cls, NULL, GNUNET_OK);
1734 asc (asc_cls, ret);
1735 GNUNET_free (ret);
1736 asc (asc_cls, NULL);
1737} 1737}
1738 1738
1739 1739