summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-09 09:55:18 +0000
committerng0 <ng0@n0.is>2019-09-09 09:55:18 +0000
commitc03c7227ba8ac9acc8992c2166a72bea383c09d6 (patch)
tree63d7e420f1d5cea38830a09c591aa851e345c060 /src/transport
parenta4543a4105ca6cea2bd558aed8d2e87981d535ea (diff)
plibc removal: sscanf, win32 socket corrections
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-transport-wlan-sender.c4
-rw-r--r--src/transport/plugin_transport_wlan.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-transport-wlan-sender.c b/src/transport/gnunet-transport-wlan-sender.c
index c3485ac47..be8bcdda0 100644
--- a/src/transport/gnunet-transport-wlan-sender.c
+++ b/src/transport/gnunet-transport-wlan-sender.c
@@ -123,7 +123,7 @@ main(int argc, char *argv[])
"e.g. mon0 11-22-33-44-55-66 12-34-56-78-90-ab\n");
return 1;
}
- if (6 != SSCANF(argv[2],
+ if (6 != sscanf(argv[2],
"%x-%x-%x-%x-%x-%x",
&temp[0],
&temp[1],
@@ -139,7 +139,7 @@ main(int argc, char *argv[])
}
for (i = 0; i < 6; i++)
outmac.mac[i] = temp[i];
- if (6 != SSCANF(argv[3],
+ if (6 != sscanf(argv[3],
"%x-%x-%x-%x-%x-%x",
&temp[0],
&temp[1],
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index a6d44ecb5..6cdf240c3 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -2111,7 +2111,7 @@ wlan_plugin_string_to_address(void *cls,
return GNUNET_SYSERR;
}
- if (8 != SSCANF(addr,
+ if (8 != sscanf(addr,
"%4s.%u.%X:%X:%X:%X:%X:%X",
plugin, &options,
&a[0], &a[1], &a[2],