Bug 898202 - [B2G][MMS]Unable to send/receive MMS using AT&T or prepaid T-Mobile SIMs. r=vyang

This commit is contained in:
Chia-hung Tai 2013-07-26 18:30:47 +08:00
parent 387b09468e
commit d5c6625f0b

View File

@ -287,6 +287,11 @@ XPCOMUtils.defineLazyGetter(this, "gMmsConnection", function () {
return;
}
if (!this.port) {
this.port = 80;
if (DEBUG) debug("updateProxyInfo: port is 0. Set to defult port 80.");
}
this.proxyInfo =
gpps.newProxyInfo("http", this.proxy, this.port,
Ci.nsIProxyInfo.TRANSPARENT_PROXY_RESOLVES_HOST,