Bug 1246301 - Incorrectly parsed value for update interval in shavar response. r=francois
MozReview-Commit-ID: Ks84KmA5uKJ
This commit is contained in:
@@ -130,7 +130,7 @@ ProtocolParser::ProcessControl(bool* aDone)
|
||||
} else if (StringBeginsWith(line, NS_LITERAL_CSTRING("n:"))) {
|
||||
if (PR_sscanf(line.get(), "n:%d", &mUpdateWait) != 1) {
|
||||
PARSER_LOG(("Error parsing n: '%s' (%d)", line.get(), mUpdateWait));
|
||||
mUpdateWait = 0;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
} else if (line.EqualsLiteral("r:pleasereset")) {
|
||||
mResetRequested = true;
|
||||
|
||||
Reference in New Issue
Block a user