anchor.diff:                                    CookieBefore ->
                                         ok;
                                     CookieAfter ->
  -                                      error_logger:error_msg("critical: Cookie has changed from ~p to ~p~n", [CookieBefore, CookieAfter]),
  +                                      error_logger:error_msg(
  +                                        "critical: Cookie has changed from ~p "
  +                                        "to ~p~n", [CookieBefore, CookieAfter]),
                                         exit(bad_cookie)
                                 end,
                                 ns_mnesia:rename_node(MyNode, node()),
  
positive.code:             %% and determine our ip address
              {ok, {IpAddr, _}} = inet:sockname(Socket),
              inet:close(Socket),
              RV = string:join(lists:map(fun erlang:integer_to_list/1, tuple_to_list(IpAddr)), "."),
              {ok, RV};
          {error, _} = X -> X
      end.
  
negative.code: %%
  
  running({join, RemoteNode, NewCookie}, State) ->
      ns_log:log(?MODULE, 0002, "Node ~p is joining cluster via node ~p.",
                 [node(), RemoteNode]),
      BlackSpot = make_ref(),
      MyNode = node(),
      ns_config:update(fun ({directory,_} = X) -> X;
  