Fixed bug where epoch ms time was not being returned

This commit is contained in:
Matt Hill
2014-10-21 22:09:07 -04:00
parent 32793c5991
commit 8c365a6977

View File

@@ -149,7 +149,9 @@ long getEpochTime()
{
struct timeval tp;
gettimeofday(&tp, NULL);
long int ms = tp.tv_sec * 1000 + tp.tv_usec / 1000;
long ms = tp.tv_sec * 1000 + tp.tv_usec / 1000;
return ms;
}
#endif