logd: wrap timed entry too early, timeout immediately

Bug: 26447386
Change-Id: I8d5588831f558061ef21b2a5aeedc865e9ae4cc7
This commit is contained in:
Mark Salyzyn 2016-01-07 13:21:09 -08:00
parent a649a7df15
commit 0157097845
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ FlushCommand::FlushCommand(LogReader &reader,
mLogMask(logMask),
mPid(pid),
mStart(start),
mTimeout(timeout) {
mTimeout((start > 1) ? timeout : 0) {
}
// runSocketCommand is called once for every open client on the