Commits

Perry Metzger  committed 2dae6cf

Fix HardwareGrowler crashes under OS X 10.7 "Lion" when the wireless
network appears or vanishes.

The patch used may be found here:

http://code.google.com/p/growl/issues/detail?id=223

or

http://groups.google.com/group/growl-development/msg/5fd3a5fa16833950

  • Participants
  • Parent commits 07889b9

Comments (0)

Files changed (1)

File Extras/HardwareGrowler/NetworkNotifier.m

 				NSString *networkName = [newValue objectForKey:@"SSID_STR"];
 				if (!networkName)
 					networkName = [newValue objectForKey:@"SSID"];
-				AppController_airportConnect((CFStringRef)networkName, CFDataGetBytePtr(newBSSID));
+				if (newBSSID != NULL && networkName != NULL)
+					AppController_airportConnect((CFStringRef)networkName, CFDataGetBytePtr(newBSSID));
 			}
 		}
 	}