Bug 961007 - Data mobile usage is not counted. r=chucklee

This commit is contained in:
Albert Crespell 2014-01-19 10:03:24 +01:00
Родитель 489e6eee41
Коммит dffefcdf98
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -126,7 +126,7 @@ NetworkService.prototype = {
if (Components.isSuccessCode(status)) {
// Find record for corresponding interface.
let statExpr = / +(\S+): +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+/;
let statExpr = /(\S+): +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+/;
let data = NetUtil.readInputStreamToString(inputStream,
inputStream.available()).split("\n");
for (let i = 2; i < data.length; i++) {