git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eff519
)
s4: use GetTimeOfDay macro instead of gettimeofday
author
Björn Jacke
<bj@sernet.de>
Tue, 31 Aug 2010 09:30:17 +0000
(11:30 +0200)
committer
Björn Jacke
<bj@sernet.de>
Tue, 31 Aug 2010 09:33:22 +0000
(11:33 +0200)
source4/torture/libnet/userman.c
patch
|
blob
|
history
diff --git
a/source4/torture/libnet/userman.c
b/source4/torture/libnet/userman.c
index 13fc98dd48c233942b74da9e8ed588945a9b5b4e..ad4fa92f8cdcc34fe178cc15fd9e24dea44012e8 100644
(file)
--- a/
source4/torture/libnet/userman.c
+++ b/
source4/torture/libnet/userman.c
@@
-115,7
+115,7
@@
static bool test_usermod(struct torture_context *tctx, struct dcerpc_pipe *p,
testfld = (random() % USER_FIELD_LAST) + 1;
-
gettimeofday(&now, NULL
);
+
GetTimeOfDay(&now
);
switch (testfld) {
case acct_name: