]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nss: aiforaf: Drop unused buffer 'port'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 30 Aug 2023 10:19:23 +0000 (12:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Sep 2023 08:31:53 +0000 (10:31 +0200)
commit575e7fe963abd3636da47dbb699a89cebe1a4ebc
treeebaac406293d612ff91780ac00c523e027266d4d
parentad10701e79318e0db9342358c3e9c5386802bae9
nss: aiforaf: Drop unused buffer 'port'

The 'port' buffer is passed to 'getnameinfo' which is supposed to fill
it but it's not actually later used. Drop the buffer as 'getnameinfo'
allows NULL arguments if they are not needed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
tools/nss/libvirt_nss.c