summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2019-06-27 11:12:42 +0200
committerlurchi <lurchi@strangeplace.net>2019-06-27 11:41:34 +0200
commitf54e8c82dc843aee294e61882d049b3870b458f0 (patch)
tree81b3530aaaf9caca800930f7e0643b880f7340be
parent6e75970dbd2e05d75712ee2112002c1c18a52074 (diff)
no null-termination necessary after GNUNET_strlcpy
-rw-r--r--src/exit/gnunet-helper-exit-windows.c1
-rw-r--r--src/vpn/gnunet-helper-vpn-windows.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/exit/gnunet-helper-exit-windows.c b/src/exit/gnunet-helper-exit-windows.c
index 1e17ceaac..85a06c539 100644
--- a/src/exit/gnunet-helper-exit-windows.c
+++ b/src/exit/gnunet-helper-exit-windows.c
@@ -1536,7 +1536,6 @@ main (int argc, char **argv)
}
GNUNET_strlcpy (hwid, argv[1], sizeof (hwid));
- hwid[LINE_LEN - 1] = '\0';
/*
* We use our PID for finding/resolving the control-panel name of our virtual
diff --git a/src/vpn/gnunet-helper-vpn-windows.c b/src/vpn/gnunet-helper-vpn-windows.c
index 4ccecb873..ea4d30347 100644
--- a/src/vpn/gnunet-helper-vpn-windows.c
+++ b/src/vpn/gnunet-helper-vpn-windows.c
@@ -1533,7 +1533,6 @@ main (int argc, char **argv)
}
GNUNET_strlcpy (hwid, argv[1], sizeof (hwid));
- hwid[LINE_LEN - 1] = '\0';
/*
* We use our PID for finding/resolving the control-panel name of our virtual