anchor.diff:              MiniMib = snmp_mini_mib:create(Mibs),
   	    Write = fun(X) -> 
   			    case format_msg(X, MiniMib, Start, Stop) of
  -				{ok, S} ->
  -				    io:format(Fd, "~s", [S]);
  -				_ ->
  -				    ok
  +                                {Tag, S} when (Tag =:= ok) orelse (Tag =:= error) ->
  +				    io:format(Fd, "~s", [S]),
  +                                    Tag;
  +				X ->
  +				    X
   			    end
   		    end,
  -            Res = (catch loop(disk_log:chunk(Log, start), Log, Write)),
  +            Res = (catch loop(Log, Write)),
   	    snmp_mini_mib:delete(MiniMib), 
               file:close(Fd),
               Res;
  
positive.code:     io_lib:format("Context: \"~s\"\n~s",
                    [Context, snmp_misc:format_pdu(Pdu, Mib)]);
  format_pdu(Pdu, Mib) ->
      snmp_misc:format_pdu(Pdu, Mib).
  
  get_type(#scopedPdu{data = Pdu}) ->
      get_type(Pdu);
  
negative.code: 	end,
      format_tab(
        "~w ~s - ~s [~s]~s ~w\n~s",
        [Class, AddrStr, HdrStr, TimeStamp, SeqNo, Vsn, Str]);
  f(TimeStamp, SeqNo, Msg, AddrStr, _Mib) ->
      io:format("<ERROR> Unexpected data: "
                "~n   TimeStamp: ~s~s"
                "~n   Msg:       ~p"
                "~n   AddrStr:   ~p"
                "~n", [TimeStamp, SeqNo, Msg, AddrStr]),
      throw({error, 'invalid-message'}).
  
  f(F, A) ->
      lists:flatten(io_lib:format(F, A)).
  
  
  ipPort2Str(Ip, Port) ->
      snmp_conf:mk_addr_string({Ip, Port}).
  
  %% Convert a timestamp 2-tupple to a printable string
  %%
  