diff options
| author | Garrett D'Amore <garrett@damore.org> | 2022-12-31 13:55:11 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2022-12-31 13:55:11 -0800 |
| commit | 539e559e65cd8f227c45e4b046ac41c0edcf6c32 (patch) | |
| tree | 36eb234d9511bdcc0edf29a4a1a31b427be929fb /tests/synch.c | |
| parent | f26ddeb81a5ea9d316444951f54a2a017db70482 (diff) | |
| download | nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.tar.gz nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.tar.bz2 nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.zip | |
Fixes for some security complaints.
None of these changes are actual security bugs, but GitHub's
scanner reports false positives at Critical severity for them.
(There are a number of complaints from that scanner, many of
which we do not necessarily agree with.)
Diffstat (limited to 'tests/synch.c')
| -rw-r--r-- | tests/synch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/synch.c b/tests/synch.c index 84da5568..9174385d 100644 --- a/tests/synch.c +++ b/tests/synch.c @@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2022 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -22,9 +22,9 @@ struct notifyarg { }; void -notifyafter(void *arg) +notifyafter(void *a) { - struct notifyarg *na = arg; + struct notifyarg *na = a; nng_msleep(na->when); nng_mtx_lock(na->mx); |
