mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-05 16:25:39 +00:00
Now make_ping_time() in common/util.c returns the time in milliseconds instead
of microseconds. In fe_set_lag(serv, lag) the lag argument is now in milliseconds as well. Fixes #758.
This commit is contained in:
1 parent
1d6d737927
commit
9969282c72
5 files changed
+15
-15
No files matched your search
+1
-1
@@ -1459,7 +1459,7 @@ make_ping_time (void)
|
||||
GTimeVal timev;
|
||||
g_get_current_time (&timev);
|
||||
#endif
|
||||
return (timev.tv_sec - 50000) * 1000000 + timev.tv_usec;
|
||||
return (timev.tv_sec - 50000) * 1000 + timev.tv_usec/1000;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user