]> git.ipfire.org Git - thirdparty/hostap.git/commit
D-Bus: Use a helper function to get possibly NULL strings
authorJouni Malinen <j@w1.fi>
Fri, 23 Dec 2016 09:22:00 +0000 (11:22 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 23 Dec 2016 19:28:43 +0000 (21:28 +0200)
commit77fcbf7ff185ae304b95b9fe8c84d7cdd51f3b9a
tree98f338194e9c739533d8488c8cc614564067e32c
parentdbf524946b1a0eff6a16dd977eba1a6270b49c83
D-Bus: Use a helper function to get possibly NULL strings

This type of check is used in quite a few getter functions, so add a
helper function to take care of it.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_new_handlers.h
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
wpa_supplicant/dbus/dbus_new_handlers_wps.c