THRIFT-2023: gettimeofday implementation in Windows errors when no time
zone is passed in
Client: cpp
Patch: Ben Craig
diff --git a/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp b/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
index 1906302..c5667e4 100644
--- a/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
+++ b/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
@@ -88,7 +88,7 @@
         }
     }
 
-    return -1;
+    return 0;
 }
 
 int thrift_sleep(unsigned int seconds)