[network-manager-netbook] Fix a typo that caused crashes.
- From: Tambet Ingo <tambeti src gnome org>
- To: svn-commits-list gnome org
- Subject: [network-manager-netbook] Fix a typo that caused crashes.
- Date: Wed, 8 Jul 2009 09:06:52 +0000 (UTC)
commit 9acd9b4ebaf74714f3bb48ada171064641353d12
Author: Tambet Ingo <tambet gmail com>
Date: Wed Jul 8 10:50:57 2009 +0300
Fix a typo that caused crashes.
src/nmn-wifi-handler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nmn-wifi-handler.c b/src/nmn-wifi-handler.c
index 818a335..fb6946a 100644
--- a/src/nmn-wifi-handler.c
+++ b/src/nmn-wifi-handler.c
@@ -121,7 +121,7 @@ connection_added (NmnDeviceHandler *handler,
s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (wrapped, NM_TYPE_SETTING_CONNECTION));
connection_type = nm_setting_connection_get_connection_type (s_con);
- if (!connection_type && strcmp (connection_type, NM_SETTING_WIRELESS_SETTING_NAME))
+ if (!connection_type || strcmp (connection_type, NM_SETTING_WIRELESS_SETTING_NAME))
/* Not a wifi connection */
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]