timestamp -> ts (thx to JayD)

This commit is contained in:
Justin Otherguy 2011-11-30 22:57:56 +01:00
parent daad0a5327
commit 3cb49f9d6a

View file

@ -118,7 +118,7 @@ double tvtod(struct timeval tv) {
struct timeval dtotv(double ts) {
struct timeval tv;
tv.tv_usec = modf(timestamp, &tv.tv_sec);
tv.tv_usec = modf(ts, &tv.tv_sec);
return tv;
}