1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

Round and round we go....

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 24ee18c77e
commit 2603ab3c68
3 changed files with 5 additions and 3 deletions

View File

@ -136,6 +136,7 @@ void TimeInit(void)
done_serverzone_init = False;
get_serverzone();
/* Save the start time of this process. */
if (start_time_hires.tv_sec == 0 && start_time_hires.tv_usec == 0)
GetTimeOfDay(&start_time_hires);
}

View File

@ -2655,7 +2655,7 @@ static uint32 rev_changeid(void)
get_process_uptime(&tv);
/* This value is in ms * 100 */
return (tv.tv_sec * 100000) + (tv.tv_usec / 10);
return (((tv.tv_sec * 1000000) + tv.tv_usec)/100);
}
/*

View File

@ -6177,7 +6177,7 @@ WERROR _spoolss_setprinterdata( pipes_struct *p, SPOOL_Q_SETPRINTERDATA *q_u, SP
convert_specific_param(&param, value , type, data, real_len);
#if 0
if (get_specific_param(*printer, 2, param->value, &old_param.data,
&old_param.type, (uint32 *)&old_param.data_len)) {
@ -6191,6 +6191,7 @@ WERROR _spoolss_setprinterdata( pipes_struct *p, SPOOL_Q_SETPRINTERDATA *q_u, SP
goto done;
}
}
#endif
unlink_specific_param_if_exist(printer->info_2, param);