lib/util/time.c: timeval_current_ofs_msec
[ira/wip.git] / source3 / nmbd / nmbd_processlogon.c
index 790e1c3ce1e0038c2453be89a5edf5fbef9020bb..25cdcc697090046925b8dec8c09dfdc3faa31d2a 100644 (file)
@@ -604,8 +604,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) ));
                                  source_name, source_addr,
                                  lp_init_logon_delay()));
 
-                       when = timeval_current_ofs(0,
-                               lp_init_logon_delay() * 1000);
+                       when = timeval_current_ofs_msec(lp_init_logon_delay());
                        p->locked = true;
                        event_add_timed(nmbd_event_context(),
                                        NULL,