mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Merge PR #63: Fix infinite loop in log writer.
This commit is contained in:
commit
30e28d06aa
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ func (target *logTarget) Write(out []byte) (int, error) {
|
||||||
target.mu.Lock()
|
target.mu.Lock()
|
||||||
defer target.mu.Unlock()
|
defer target.mu.Unlock()
|
||||||
|
|
||||||
return target.Write(out)
|
return target.w.Write(out)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rotate rotates the current log file, if one is opened.
|
// Rotate rotates the current log file, if one is opened.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue