aboutsummaryrefslogtreecommitdiff
path: root/src/exit
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 /src/exit
parent6e75970dbd2e05d75712ee2112002c1c18a52074 (diff)
downloadgnunet-f54e8c82dc843aee294e61882d049b3870b458f0.tar.gz
gnunet-f54e8c82dc843aee294e61882d049b3870b458f0.zip
no null-termination necessary after GNUNET_strlcpy
Diffstat (limited to 'src/exit')
-rw-r--r--src/exit/gnunet-helper-exit-windows.c1
1 files changed, 0 insertions, 1 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)
1536 } 1536 }
1537 1537
1538 GNUNET_strlcpy (hwid, argv[1], sizeof (hwid)); 1538 GNUNET_strlcpy (hwid, argv[1], sizeof (hwid));
1539 hwid[LINE_LEN - 1] = '\0';
1540 1539
1541 /* 1540 /*
1542 * We use our PID for finding/resolving the control-panel name of our virtual 1541 * We use our PID for finding/resolving the control-panel name of our virtual