fix a warning
This commit is contained in:
parent
018c07d944
commit
593cb02d3f
@ -301,8 +301,9 @@ func (server *Server) streamOnline(w http.ResponseWriter, r *http.Request, mtime
|
|||||||
if !exists {
|
if !exists {
|
||||||
server.lu.Lock()
|
server.lu.Lock()
|
||||||
locked = true
|
locked = true
|
||||||
}
|
|
||||||
memoryObject, exists = server.o[r.URL.Path]
|
memoryObject, exists = server.o[r.URL.Path]
|
||||||
|
}
|
||||||
if exists {
|
if exists {
|
||||||
if locked {
|
if locked {
|
||||||
server.lu.Unlock()
|
server.lu.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user