Fixed bug with client log code

After removing the socket descriptor value from the client log format string, the
variable was still being passed to the log function, resulting in a crash.