network-manager-applet r753 - in trunk: . src/wireless-security
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-applet r753 - in trunk: . src/wireless-security
- Date: Tue, 10 Jun 2008 01:58:31 +0000 (UTC)
Author: dcbw
Date: Tue Jun 10 01:58:31 2008
New Revision: 753
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=753&view=rev
Log:
2008-06-09 Dan Williams <dcbw redhat com>
* src/wireless-security/ws-wep-key.c
- (ws_wep_key_new): don't crash if the connection doesn't have wireless
security yet (like in the Create New... dialog)
Modified:
trunk/ChangeLog
trunk/src/wireless-security/ws-wep-key.c
Modified: trunk/src/wireless-security/ws-wep-key.c
==============================================================================
--- trunk/src/wireless-security/ws-wep-key.c (original)
+++ trunk/src/wireless-security/ws-wep-key.c Tue Jun 10 01:58:31 2008
@@ -349,7 +349,7 @@
is_adhoc = TRUE;
s_wsec = NM_SETTING_WIRELESS_SECURITY (nm_connection_get_setting (connection, NM_TYPE_SETTING_WIRELESS_SECURITY));
- if (s_wsec->auth_alg && !strcmp (s_wsec->auth_alg, "shared"))
+ if (s_wsec && s_wsec->auth_alg && !strcmp (s_wsec->auth_alg, "shared"))
is_shared_key = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]