Need an assert here.
authorRoy Marples <roy@marples.name>
Wed, 3 Dec 2014 13:13:21 +0000 (13:13 +0000)
committerRoy Marples <roy@marples.name>
Wed, 3 Dec 2014 13:13:21 +0000 (13:13 +0000)
src/libdhcpcd/wpa.c

index 59ccb9dac68228d6106e94cadbb8a01fe6f5b16f..f066c879d7d08e1bdc237ef3ec747407c2f765a7 100644 (file)
@@ -899,6 +899,7 @@ DHCPCD_IF *
 dhcpcd_wpa_if(DHCPCD_WPA *wpa)
 {
 
+       assert(wpa);
        return dhcpcd_get_if(wpa->con, wpa->ifname, "link");
 }