From d2cf97aeba14a4d336fb57b01f19bd5a08dcb003 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 29 Nov 2007 13:24:54 -0800 Subject: Remove the explicit TALLOC_CTX * from cli_struct. Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62) --- source3/lib/time.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/time.c b/source3/lib/time.c index e29308fcd0..5301e3a55a 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -1181,17 +1181,17 @@ void cli_put_dos_date3(struct cli_state *cli, char *buf, int offset, time_t unix put_dos_date3(buf, offset, unixdate, cli->serverzone); } -time_t cli_make_unix_date(struct cli_state *cli, void *date_ptr) +time_t cli_make_unix_date(struct cli_state *cli, const void *date_ptr) { return make_unix_date(date_ptr, cli->serverzone); } -time_t cli_make_unix_date2(struct cli_state *cli, void *date_ptr) +time_t cli_make_unix_date2(struct cli_state *cli, const void *date_ptr) { return make_unix_date2(date_ptr, cli->serverzone); } -time_t cli_make_unix_date3(struct cli_state *cli, void *date_ptr) +time_t cli_make_unix_date3(struct cli_state *cli, const void *date_ptr) { return make_unix_date3(date_ptr, cli->serverzone); } -- cgit