]> git.feebdaed.xyz Git - 0xmirror/libvirt.git/commit
iptablesPrivateChainCreate: Rename @tmp variable
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Nov 2025 15:32:11 +0000 (16:32 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 2 Dec 2025 11:42:02 +0000 (12:42 +0100)
commit33c486f4fdc7257fb9e5ff89f5b7e3f4206b7ed0
tree1d03ffde6994b495ee35292893207314ff47ada6
parent1d95cee60868b851c938314216ce862bcb964254
iptablesPrivateChainCreate: Rename @tmp variable

The iptablesPrivateChainCreate() function gets a NULL terminated
array of strings (@lines argument), each item representing one
line of iptables output. Currently, the variable used to iterate
over the array is named 'tmp' which is not very descriptive.
Rename it to 'line'.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Tested-by: Jaroslav Suchanek <jsuchane@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/network/network_iptables.c