NetworkManager r4278 - in trunk: . libnm-util
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4278 - in trunk: . libnm-util
- Date: Fri, 7 Nov 2008 15:55:08 +0000 (UTC)
Author: dcbw
Date: Fri Nov 7 15:55:08 2008
New Revision: 4278
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4278&view=rev
Log:
2008-11-07 Dan Williams <dcbw redhat com>
* libnm-util/nm-setting-wireless.c
- (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
that cased this function to return garbage, breaking hidden AP
detection
Modified:
trunk/ChangeLog
trunk/libnm-util/nm-setting-wireless.c
Modified: trunk/libnm-util/nm-setting-wireless.c
==============================================================================
--- trunk/libnm-util/nm-setting-wireless.c (original)
+++ trunk/libnm-util/nm-setting-wireless.c Fri Nov 7 15:55:08 2008
@@ -90,6 +90,7 @@
GSList *seen_bssids;
char *security;
} NMSettingWirelessPrivate;
+
enum {
PROP_0,
PROP_SSID,
@@ -420,7 +421,7 @@
{
g_return_val_if_fail (NM_IS_SETTING_WIRELESS (setting), NULL);
- return (const char *) g_slist_nth (NM_SETTING_WIRELESS_GET_PRIVATE (setting)->seen_bssids, i);
+ return (const char *) g_slist_nth_data (NM_SETTING_WIRELESS_GET_PRIVATE (setting)->seen_bssids, i);
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]