projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use sideband also for challenge response.
[paraslash.git]
/
time.c
diff --git
a/time.c
b/time.c
index a591e8cd27c1fbeebf8a17a15d6b5aaf96e50bea..e0f6c756e21ae87d553c7a3a3e4a99e04e34e977 100644
(file)
--- a/
time.c
+++ b/
time.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2005-20
09
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-20
12
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-12,7
+12,7
@@
*
* \param tv The time value value to convert.
*
*
* \param tv The time value value to convert.
*
- * \return The number of
f
milliseconds in \a tv.
+ * \return The number of milliseconds in \a tv.
*/
long unsigned tv2ms(const struct timeval *tv)
{
*/
long unsigned tv2ms(const struct timeval *tv)
{
@@
-82,7
+82,7
@@
int tv_diff(const struct timeval *b, const struct timeval *a, struct timeval *di
*
* \param a First addend.
* \param b Second addend.
*
* \param a First addend.
* \param b Second addend.
- * \param sum Contains the sum \a + \a b on return.
+ * \param sum Contains the sum \a
a
+ \a b on return.
*/
void tv_add(const struct timeval *a, const struct timeval *b,
struct timeval *sum)
*/
void tv_add(const struct timeval *a, const struct timeval *b,
struct timeval *sum)
@@
-180,7
+180,7
@@
int tv_convex_combination(const long a, const struct timeval *tv1,
* \param stream_start When the first chunk was sent.
* \param result The time when to send chunk number \a chunk_num.
*
* \param stream_start When the first chunk was sent.
* \param result The time when to send chunk number \a chunk_num.
*
- * This function computes
stream_start + chunk_num *
chunk_time.
+ * This function computes
\a stream_start + \a chunk_num * \a
chunk_time.
*/
void compute_chunk_time(long unsigned chunk_num,
struct timeval *chunk_tv, struct timeval *stream_start,
*/
void compute_chunk_time(long unsigned chunk_num,
struct timeval *chunk_tv, struct timeval *stream_start,