diff options
author | Thomas Haller <thaller@redhat.com> | 2023-08-18 16:33:21 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-08-18 16:50:21 +0200 |
commit | 4646d656466b1f05bd765bbfb4d6d7bf1529bdbd (patch) | |
tree | d58cbf9b1a64deff447457699889cb2245e704b5 /src/rule.c | |
parent | f3411cbf4608df4c83bb7d830ea118d923affb2e (diff) |
json: use strtok_r() instead of strtok()
strtok_r() is probably(?) everywhere available where we care.
Use it. It is thread-safe, and libnftables shouldn't make
assumptions about what other threads of the process are doing.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/rule.c')
0 files changed, 0 insertions, 0 deletions