From 892b9d9dd047031688b3cb81906f30875e932218 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 13 Jun 2013 01:05:55 +0800 Subject: [PATCH] Bug 882105 - Typo error breaking NetworkManager.js. r=vicamo --- dom/system/gonk/NetworkManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- dom/system/gonk/NetworkManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/system/gonk/NetworkManager.js b/dom/system/gonk/NetworkManager.js index 3c82d8ce9fd..924528abb87 100644 --- a/dom/system/gonk/NetworkManager.js +++ b/dom/system/gonk/NetworkManager.js @@ -259,8 +259,8 @@ NetworkManager.prototype = { break; case TOPIC_INTERFACE_REGISTERED: let regNetwork = subject.QueryInterface(Ci.nsINetworkInterface); - debug("Network '" + regNetwork.name + "' registered, adding mmsproxy and/or mmsc route"); if (regNetwork.type == Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_MMS) { + debug("Network '" + regNetwork.name + "' registered, adding mmsproxy and/or mmsc route"); let mmsHosts = this.resolveHostname( [ Services.prefs.getCharPref("ril.mms.mmsproxy"), Services.prefs.getCharPref("ril.mms.mmsc") ] @@ -270,8 +270,8 @@ NetworkManager.prototype = { break; case TOPIC_INTERFACE_UNREGISTERED: let unregNetwork = subject.QueryInterface(Ci.nsINetworkInterface); - debug("Network '" + regNetwork.name + "' unregistered, removing mmsproxy and/or mmsc route"); if (unregNetwork.type == Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_MMS) { + debug("Network '" + unregNetwork.name + "' unregistered, removing mmsproxy and/or mmsc route"); let mmsHosts = this.resolveHostname( [ Services.prefs.getCharPref("ril.mms.mmsproxy"), Services.prefs.getCharPref("ril.mms.mmsc") ]