timestamp -> ts (thx to JayD)
This commit is contained in:
parent
daad0a5327
commit
3cb49f9d6a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue