diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-transport-wlan-sender.c | 4 | ||||
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 2 |
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[]) | |||
123 | "e.g. mon0 11-22-33-44-55-66 12-34-56-78-90-ab\n"); | 123 | "e.g. mon0 11-22-33-44-55-66 12-34-56-78-90-ab\n"); |
124 | return 1; | 124 | return 1; |
125 | } | 125 | } |
126 | if (6 != SSCANF(argv[2], | 126 | if (6 != sscanf(argv[2], |
127 | "%x-%x-%x-%x-%x-%x", | 127 | "%x-%x-%x-%x-%x-%x", |
128 | &temp[0], | 128 | &temp[0], |
129 | &temp[1], | 129 | &temp[1], |
@@ -139,7 +139,7 @@ main(int argc, char *argv[]) | |||
139 | } | 139 | } |
140 | for (i = 0; i < 6; i++) | 140 | for (i = 0; i < 6; i++) |
141 | outmac.mac[i] = temp[i]; | 141 | outmac.mac[i] = temp[i]; |
142 | if (6 != SSCANF(argv[3], | 142 | if (6 != sscanf(argv[3], |
143 | "%x-%x-%x-%x-%x-%x", | 143 | "%x-%x-%x-%x-%x-%x", |
144 | &temp[0], | 144 | &temp[0], |
145 | &temp[1], | 145 | &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, | |||
2111 | return GNUNET_SYSERR; | 2111 | return GNUNET_SYSERR; |
2112 | } | 2112 | } |
2113 | 2113 | ||
2114 | if (8 != SSCANF(addr, | 2114 | if (8 != sscanf(addr, |
2115 | "%4s.%u.%X:%X:%X:%X:%X:%X", | 2115 | "%4s.%u.%X:%X:%X:%X:%X:%X", |
2116 | plugin, &options, | 2116 | plugin, &options, |
2117 | &a[0], &a[1], &a[2], | 2117 | &a[0], &a[1], &a[2], |