aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-helper-vpn-windows.c
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2019-06-27 12:59:05 +0200
committerlurchi <lurchi@strangeplace.net>2019-06-27 12:59:05 +0200
commit3ea320df4716a4ce16d738fa47bbe59740e36f42 (patch)
treec73de8a7095584cf24103bd3a87a6a49942dce73 /src/vpn/gnunet-helper-vpn-windows.c
parent40a111b93ce2d38b875c2eda3e23d6b89a256599 (diff)
downloadgnunet-3ea320df4716a4ce16d738fa47bbe59740e36f42.tar.gz
gnunet-3ea320df4716a4ce16d738fa47bbe59740e36f42.zip
new GNUNET_strlcpy allows using it more
Diffstat (limited to 'src/vpn/gnunet-helper-vpn-windows.c')
-rw-r--r--src/vpn/gnunet-helper-vpn-windows.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vpn/gnunet-helper-vpn-windows.c b/src/vpn/gnunet-helper-vpn-windows.c
index ab72d71aa..17f32c5a8 100644
--- a/src/vpn/gnunet-helper-vpn-windows.c
+++ b/src/vpn/gnunet-helper-vpn-windows.c
@@ -751,9 +751,6 @@ resolve_interface_name ()
751 /* 751 /*
752 * we have successfully found OUR instance, 752 * we have successfully found OUR instance,
753 * save the device GUID before exiting 753 * save the device GUID before exiting
754 *
755 * We can use GNUNET_strlcpy here because instance key is null-
756 * terminated by RegEnumKeyExA.
757 */ 754 */
758 GNUNET_strlcpy (device_guid, instance_key, sizeof (device_guid)); 755 GNUNET_strlcpy (device_guid, instance_key, sizeof (device_guid));
759 retval = TRUE; 756 retval = TRUE;