summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-11 06:47:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:41 -0500
commit945180f6763f713d9e56a836fae980d39c26a267 (patch)
tree1adfdd7990d850819b85ea82779c160b814ca40c /source4/librpc/ndr
parent1a71331ebca1f6b7d90d696468e44f1ce4ec08f8 (diff)
downloadsamba-945180f6763f713d9e56a836fae980d39c26a267.tar.gz
samba-945180f6763f713d9e56a836fae980d39c26a267.tar.bz2
samba-945180f6763f713d9e56a836fae980d39c26a267.zip
r4676: NTTIME_1sec is a standard NTTIME for the calling code
as it's already converted in the pull/push code metze (This used to be commit 0d2286ba56fa8d25244a5554e75b5be24eba28b0)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_basic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index 689483986e..29a3009af6 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -1102,7 +1102,10 @@ void ndr_print_NTTIME(struct ndr_print *ndr, const char *name, NTTIME t)
void ndr_print_NTTIME_1sec(struct ndr_print *ndr, const char *name, NTTIME_1sec t)
{
- ndr_print_NTTIME(ndr, name, t * 10000000);
+ /* this is a standard NTTIME here
+ * as it's already converted in the pull/push code
+ */
+ ndr_print_NTTIME(ndr, name, t);
}
void ndr_print_NTTIME_hyper(struct ndr_print *ndr, const char *name, NTTIME_hyper t)