Correct print for xtra server urls.

The offset calculation on the 2nd and 3rd server urls
were wrong. The are off by 1 and 2 bytes respectively.

Change-Id: Iab9da5dbd2b0c779e18a6fe4615ad7e705800654
This commit is contained in:
Kevin Tang 2013-10-04 18:59:00 -07:00
parent 49c1805764
commit c7b006cecc

View file

@ -895,7 +895,7 @@ void LocEngReportXtraServer::proc() const {
inline void LocEngReportXtraServer::locallog() const {
LOC_LOGV("LocEngReportXtraServers: server1: %s\n server2: %s\n"
" server3: %s\n",
mServers, &mServers[mMaxLen], &mServers[mMaxLen<<1]);
mServers, &mServers[mMaxLen+1], &mServers[(mMaxLen+1)<<1]);
}
inline void LocEngReportXtraServer::log() const {
locallog();