array( '@errno' => $error->code, '%server' => $server, '%method' => $method, '%message' => $error->message, ), ); // Skip to the next server in case of any error, except if we have a // MOLLOM_ERROR, which indicates a bogus configuration. In this case, stop // trying, since all servers will fail. if ($error->code === MOLLOM_ERROR) { break; } } // Otherwise, we have a valid result. else { break; } } if (is_array($result)) { _mollom_watchdog_multiple($messages, WATCHDOG_DEBUG); return $result; } else { _mollom_watchdog_multiple($messages, WATCHDOG_ERROR); return xmlrpc_errno(); } }