flashpolicyd.rb
# Logs a message passed to it and increment the bogus client counter inside a mutex
Logs a message passed to it and increment the bogus client counter inside a mutex
Logs a message passed to it and increment the bogus client counter inside a mutex
def bogusclient(msg, client)
    addr = client.addr
    warn("Client #{addr[2]} #{msg}")
    @@clientsMutex.synchronize {
      @@bogusclients += 1
    }
  end
def bogusclient ( msg , client ) addr = client . addr warn ( "Client #{addr[2]} #{msg}" ) @@clientsMutex . synchronize { @@bogusclients += 1 } end
Logs a message passed to it and increment the bogus client counter inside a mutex
Logs a message passed to it and increment the bogus client counter inside a mutex
msg
<not_specific>
client
<not_specific>