PATCH: Remove flawed comparison
- From: "Pablo Martí" <pmarti warp es>
- To: "network manager" <networkmanager-list gnome org>
- Subject: PATCH: Remove flawed comparison
- Date: Wed, 3 Sep 2008 10:52:49 +0200
Hi,
wandering through the source I found this (seemingly) obvious bug.
Could you review and apply the patch?
Rergards,
--
Pablo Martí
http://www.linkedin.com/in/pmarti || http://www.warp.es
python -c "print '706d6172746940776172702e6573'.decode('hex')"
diff -ru NetworkManager.orig/src/NetworkManagerUtils.c NetworkManager/src/NetworkManagerUtils.c
--- NetworkManager.orig/src/NetworkManagerUtils.c 2008-09-03 10:46:34.000000000 +0200
+++ NetworkManager/src/NetworkManagerUtils.c 2008-09-03 10:40:19.000000000 +0200
@@ -452,7 +452,7 @@
g_hash_table_insert (connection_props,
NMD_CONNECTION_PROPS_SERVICE_NAME,
str_to_gvalue (NM_DBUS_SERVICE_USER_SETTINGS));
- } else if (nm_connection_get_scope (connection) == NM_CONNECTION_SCOPE_USER) {
+ } else if (nm_connection_get_scope (connection) == NM_CONNECTION_SCOPE_SYSTEM) {
g_hash_table_insert (connection_props,
NMD_CONNECTION_PROPS_SERVICE_NAME,
str_to_gvalue (NM_DBUS_SERVICE_SYSTEM_SETTINGS));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]