anchor.diff:                  end
           end, Cases).
   
  -set_maxdrift_test() ->
  +set_maxoffset_test() ->
  +    error_logger:tty(false),
       {_MClock, MClockFun} = hlc:manual_clock(123456789),
       SkewedTime = 123456789 + 51,
       {ok, C} = hlc:new(MClockFun),
   
  -    ?assert(hlc:get_maxdrift(C) =:= 0),
  -    hlc:set_maxdrift(C, 50),
  -    ?assert(hlc:get_maxdrift(C) =:= 50),
  +    ?assert(hlc:get_maxoffset(C) =:= 0),
  +    hlc:set_maxoffset(C, 50),
  +    ?assert(hlc:get_maxoffset(C) =:= 50),
   
       hlc:now(C),
       TS = hlc:timestamp(C),
  
positive.code:     {reply, NewTS, Clock#clock{ts=NewTS}};
  
  handle_call({update, RT}, _From, #clock{physical_clock=PhysicalCLock,
                                          ts=TS, maxdrift=MaxDrift}=Clock)  ->
      Now = PhysicalCLock(),
  
      #timestamp{wall_time=RTWalltime, logical=RTLogical} = RT,
  
negative.code:             {reply, NewTS, Clock#clock{ts=NewTS}};
  
          false when RTWalltime > TSWalltime ->
              if ((MaxOffset > 0) and (Drift > MaxOffset)) ->
                      error_logger:info_msg("Remote wall time offsets from
                                  localphysical clock: %p (%p ahead)",
                                  [RTWalltime, Drift]),
  
  