]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevtap: Do (not) use NULLSTR consistently
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Sep 2024 08:16:50 +0000 (10:16 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Sep 2024 10:21:19 +0000 (12:21 +0200)
commit4ce9196dc4676ab8778ebffc6b523887241e8906
treee62496eb2d5a125cd7f976cdba032b4cf53777f6
parenta16bd558197c263b1651084644e1fc08929cd600
virnetdevtap: Do (not) use NULLSTR consistently

The function generates *ifname from the get go and most functions do not
wrap the string in a NULLSTR as it is not necessary.  The few leftovers
are outliers that are changed to fit the theme better.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdevtap.c