Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
452dd5b
)
THRIFT-2023: gettimeofday implementation in Windows errors when no time
author
Ben Craig
<bencraig@apache.org>
Wed, 28 Aug 2013 20:08:23 +0000
(15:08 -0500)
committer
Ben Craig
<bencraig@apache.org>
Wed, 28 Aug 2013 20:08:23 +0000
(15:08 -0500)
zone is passed in
Client: cpp
Patch: Ben Craig
lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
b/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
index
1906302
..
c5667e4
100644
(file)
--- a/
lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
+++ b/
lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
@@
-88,7
+88,7
@@
int thrift_gettimeofday(struct timeval * tv, struct timezone * tz)
}
}
- return
-1
;
+ return
0
;
}
int thrift_sleep(unsigned int seconds)